-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Plugin imports #183
Comments
@MatteoGabriele What is your exact version of webpack ? You can of course use PostCSS via configuration in |
I was working with webpack 2.2.1 but there is a problem with the js compression plugin and temporarily rolled back to 2.2.0. Apparently a version fix one part of my application and breaks the other :D but whatever. Now I'll go to 2.2.1 again to try what you are saying. Can i choose where to drop my Would be nice if I can just choose where postcss should look up for that file and take that file close where it belongs ( at least for what i need ). In case i want to go for the most redundant way: how can i just use only webpack to load plugins? thanks again! |
@MatteoGabriele uhh... all this custom configs all the time :D
webpack.config.js
The above works out-of-the-box, no setup required
webpack.config.js
|
@michael-ciniawsky ok I'm going to try one of this setup then! Hope to find my way! :D My custom config is to avoid other custom configs aahahahha. One package to rule them all! Thanks a lot for you explanation. Super! |
I currently switched to webpack 2 and I am encountering one big issue so far: the plugin configuration.
I know that postcss now is handling configurations also with this
postcss.config.js
file, but i really don't/can't use it because of the setup I'm trying to achieve: maintaining all application setup in one place and not spread config files around.So I would like to use postcss in webpack 2 like it was on webpack 1: via loader.
This is my webpack setup for all css loaded in my application, and apparently is not working and is giving me the error
Error: No PostCSS Config found in ...
What is working though is my
vue-loader
which is handling also css coming from a .vue file.Same treatment
Can i avoid in some way this postcss new configuration and do the "old fashion" way?
I hope it's kind of clear what i wrote :)
Thanks a lot for you time.
The text was updated successfully, but these errors were encountered: