-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
如何去设置publicPath? #1164
Comments
不好意思,我知道怎么改了。。。。 |
我常规做法还是用alias。
|
怎么改### 能贴一下代码吗?谢谢 |
@Yanhongliang100 我并不是背景图片问题,我是项目没有放到服务器根目录导致的问题,我最终是修改了config里面的index.js |
这样即可:const MiniCssExtractPluginLoader = { // generate loader string to be used with extract text plugin
} |
由于项目没有放到根目录,样式文件里面的背景图片打包后有问题
在webpack3中可以这样设置
升级到webpack4后我尝试这样配置,但是无效
请问该如何配置呢,非常谢谢
The text was updated successfully, but these errors were encountered: