-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ability to set postcss config path #944
Labels
Comments
instead of providing a path, simply require the config file and pass it to vue-loader's
But that could be optiimized, admittedly. |
Thanks a ton for finagling this; I'll use the above approach until it's baked into the loader. |
Close via 94d374b |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
What problem does this feature solve?
lots of configs in a project (app config, webpack.base, webpack.client, webpack.server, vue-loader.config, css-loader.config, etc...) means it makes sense to have a
config/
folder in the project. It's unfortunate thatpostcss.config.js
has to remain in the root, because there is no ability to specify the path.The postcss-loader options show a
config
option, that when used, allows the loader to look in a different location forpostcss.config.js
.A similar functionality would be very useful for
vue-loader
.What does the proposed API look like?
Another option to
vue-loader
:The text was updated successfully, but these errors were encountered: