diff --git a/.npmignore b/.npmignore deleted file mode 100644 index c3a43345..00000000 --- a/.npmignore +++ /dev/null @@ -1,11 +0,0 @@ -!dist/ -static/ -webpack/ -yarn.lock - -.agignore -.babelrc -.eslintrc.js -.npmignore -.tern-port -.tern-project diff --git a/package.json b/package.json index ef4c8c51..5aaa76e0 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "Cloudinary Video Player", "author": "Cloudinary", "license": "MIT", + "module": "./lib/videoPlayer.js", "main": "./dist/cld-video-player.min.js", - "module": "./lib/cld-video-player.js", "style": "./dist/cld-video-player.min.css", "types": "./types/cld-video-player.d.ts", "files": [ @@ -13,11 +13,12 @@ "lib", "types", "LICENSE", - "README.md" + "README.md", + "!**/*.map" ], "exports": { ".": { - "import": "./lib/cld-video-player.js", + "import": "./lib/videoPlayer.js", "require": "./dist/cld-video-player.js", "types": "./types/cld-video-player.d.ts" },