Skip to content

Commit

Permalink
feat: expose TypeScript declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Symbitic committed Jul 4, 2021
1 parent 6c735b9 commit 7e83751
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"spotify-web-playback"
],
"repository": "github:Symbitic/spotify-web-playback",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
Expand Down
6 changes: 0 additions & 6 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ const extensions = [ '.js', '.ts' ];
export default {
input: 'src/index.ts',
output: [
{
file: pkg.main,
format: 'umd',
name: 'SpotifyPlayer',
exports: 'default'
},
{
file: pkg.module,
format: 'esm'
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { SpotifyPlayer } from './spotify';
export * from './spotify-types';

export default SpotifyPlayer;

0 comments on commit 7e83751

Please sign in to comment.