Closed kevinpollet closed 5 years ago
The tests are failing but I don't think it's related to my changes 🤔
53 passing (856ms)
1 failing
1) dependencyTree
module formats
es6
when given an es6 file using dynamic imports
includes the dynamic import:
AssertionError: false == true
+ expected - actual
-false
+true
at Context.ok (test/test.js:643:18)
Thanks for this! I fixed that broken test (took a bit of work at several layers). I also went with an npmignore instead of whitelisting certain folders. Appreciate the contribution!
Hi,
First, thanks for your good work!
Currently, the published package on npm contains a lot of unnecessary files and folders. To reduce the package size, I think only
index.js
,bin
andlib
folders must be included. This PR adds the files property to thepackage.json
to specify the folders and files included in the final package (the file in themain
field is always included).Here is the output of the
npm pack --dry-run
command:Here is the output of the
npm pack dependency-tree --dry-run
command, showing the files included in the published package: