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

Exclude src directory from npm package #76

Closed
steelbrain opened this issue Mar 7, 2016 · 4 comments
Closed

Exclude src directory from npm package #76

steelbrain opened this issue Mar 7, 2016 · 4 comments

Comments

@steelbrain
Copy link

To do that we need to add this to .npmignore

src
@developit
Copy link
Member

Hi - the src directory is actually intentionally included, because it is referenced as "jsnext:main" for users who want the ES6 source (for things like Webpack 2 / Rollup tree shaking).

@steelbrain
Copy link
Author

@developit but if we git ignore we'll get an extremely lightweight package

@steelbrain
Copy link
Author

Nevermind the size difference is very small

@developit
Copy link
Member

Yup, size diff is about 80k.

marvinhagemeister added a commit that referenced this issue Mar 2, 2019
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

2 participants