We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The published package contains your IDE’s configuration files, which I assume is unintended:
$ la node_modules/sass-resources-loader total 64 drwxr-xr-x 11 thibaudcolas staff 352 Aug 26 15:44 .idea/ -rw-r--r-- 1 thibaudcolas staff 2004 Oct 26 1985 CHANGELOG.md -rw-r--r-- 1 thibaudcolas staff 1435 Oct 26 1985 CODE_OF_CONDUCT.md -rw-r--r-- 1 thibaudcolas staff 2582 Oct 26 1985 CONTRIBUTING.md -rw-r--r-- 1 thibaudcolas staff 1053 Oct 26 1985 LICENSE -rw-r--r-- 1 thibaudcolas staff 7136 Oct 26 1985 README.md -rw-r--r-- 1 thibaudcolas staff 115 Oct 26 1985 jest.config.js drwxr-xr-x 4 thibaudcolas staff 128 Aug 26 15:44 lib/ -rw-r--r-- 1 thibaudcolas staff 2618 Aug 26 15:45 package.json
I’d suggest removing the .npmignore file, and using the package.json’s files field instead:
.npmignore
files
"files": [ "lib" ],
This will result in the list below (a few files are included no matter what):
$ la node_modules/sass-resources-loader total 64 -rw-r--r-- 1 thibaudcolas staff 2004 Oct 26 1985 CHANGELOG.md -rw-r--r-- 1 thibaudcolas staff 1053 Oct 26 1985 LICENSE -rw-r--r-- 1 thibaudcolas staff 7136 Oct 26 1985 README.md drwxr-xr-x 4 thibaudcolas staff 128 Aug 26 15:44 lib/ -rw-r--r-- 1 thibaudcolas staff 2618 Aug 26 15:45 package.json
The text was updated successfully, but these errors were encountered:
I agree. @thibaudcolas could you create a PR and confirm this works for you?
Sorry, something went wrong.
Package cleanup: reduce published files and dependencies (#126, #127) (…
d2d1c44
…#128) * Switch to package.json files property to limit published package files * Move development-only dependencies to devDependencies
Fixed in #128
No branches or pull requests
The published package contains your IDE’s configuration files, which I assume is unintended:
I’d suggest removing the
.npmignore
file, and using the package.json’sfiles
field instead:This will result in the list below (a few files are included no matter what):
The text was updated successfully, but these errors were encountered: