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

Improve webpack support #269

Open
andreialecu opened this issue Sep 30, 2015 · 4 comments
Open

Improve webpack support #269

andreialecu opened this issue Sep 30, 2015 · 4 comments
Labels

Comments

@andreialecu
Copy link

When using webpack, sass/less files should be parsed using native webpack loaders instead of gulp

Same for copying and optimizing images, copying html files, etc.

@thaiat
Copy link
Contributor

thaiat commented Oct 1, 2015

maybe i'm missing something but If you require the sass / less / images / html in your javascript, the webpack loaders will do the work
they are already configured that way

@thaiat thaiat added the question label Oct 1, 2015
@andreialecu
Copy link
Author

You can require them, but they're also created by gulp, so the gulp tasks need to be stripped as well.

It would also mean a lot fewer dependencies in package.json, since a lot of the packages (sass, browserify, etc) wouldn't be necessary any more - resulting in a leaner installation.

Ideally, webpack/browserify should be a question during initial setup, resulting in different gulp files/dependencies depending on the choice.

@thaiat
Copy link
Contributor

thaiat commented Oct 2, 2015

yep i see, do you want to give it a shot a make a PR ?

@andreialecu
Copy link
Author

@thaiat: I went ahead and did so #270

Let's discuss there :)

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

No branches or pull requests

2 participants