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

Why is the main file of package.json not src/index.js? #46

Closed
atomer opened this issue Apr 3, 2017 · 0 comments
Closed

Why is the main file of package.json not src/index.js? #46

atomer opened this issue Apr 3, 2017 · 0 comments

Comments

@atomer
Copy link

atomer commented Apr 3, 2017

https://github.com/ElemeFE/vue-swipe/blob/master/package.json#L5
If we use the module system, i think the original source is more appropriate than the result after the build.
For example, if you use webpack you do not need require('vue-swipe/dist/vue-swipe.css'); if you have vue-loader and css-loader.

@atomer atomer closed this as completed Apr 11, 2018
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