-
Notifications
You must be signed in to change notification settings - Fork 42
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
Why is there no src folder in the npm install package? #44
Comments
Hi @flex79 well, the If you take a look at other libs, like It does not make any sense to include the The build output is a If you have specific older browser support, you can add the |
Ok thanks. I did check some of my other packages they do all have the src included but use the dist version in it's package. I guess thats fine then, however in your build stuff like this: "Component.options.__file = "/Users/jjuszczak/Projekte/Privat/vue-cookie-law/src/components/CookieLaw.vue" feels wrong |
Oh, thats interesting. It is not happening in other packages like https://github.com/apertureless/vue-chartjs/blob/develop/dist/vue-chartjs.js |
May be related to this: vuejs/vue-loader#516 |
hi @apertureless |
Yes. That is right. And that is how it should be. Why do you want the source folder ? |
When i install the package I only get the dist folder. Can u include the src and also update package.json to use the src instead of the dist? Dist file contains all kind of local build references, feels kinda dirty to use this. Also it might not match my projects build browser targets.
The text was updated successfully, but these errors were encountered: