摘要: outPut中的publicPath 默认值: 空字符串。 publicPath是非常有必要配置的,他是项目中引入静态资源(js、css)时的基础路径。 例如: 在使用html-webpack-plugin插件打包后的html文件(下图)可以看到,引入js文件的路径为“publicPath+静态资源 阅读全文
posted @ 2019-02-01 16:34 Chen_cong 阅读(3781) 评论(0) 推荐(0) 编辑