Skip to content
New issue

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

Production version contains unnecessary files #249

Open
kalinchernev opened this issue Mar 2, 2023 · 0 comments
Open

Production version contains unnecessary files #249

kalinchernev opened this issue Mar 2, 2023 · 0 comments

Comments

@kalinchernev
Copy link

Describe the bug
The published npm package contains unnecessary files for production use.

To Reproduce
Download the package and open its folder in node_modules

Expected behavior
Only production files are necessary: dist, index.d.ts, license, readme and package.json

Screenshots
See this

Screenshot from 2023-03-02 09-11-59

Additional context

.npmignore file can be used to list src, webpack and eslint config, etc. https://docs.npmjs.com/cli/v8/using-npm/developers#testing-whether-your-npmignore-or-files-config-works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant