You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, postcss-loader looks for configs in a cascading manner upwards from the imported css file (in your case outside of the webpack project root directory). You can configure the loader to use a specific path (instead of using the cascading logic from the location of the imported file) by setting the config.path option. This can be done by customizing your webpack configuration using one of the methods described in the docs. A working example would be
Version
3.0.0-beta.6
Reproduction link
https://codepen.io/icewind7030/pen/PRvEPY
Steps to reproduce
What is expected?
将外部引入的css文件打包进入生成的css bundle中
What is actually happening?
vue cli service 报错
引入vue cli创建的目录内的css文件是不会报错的
The text was updated successfully, but these errors were encountered: