1111
This commit is contained in:
@@ -28,10 +28,10 @@ module.exports = {
|
||||
// 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
|
||||
productionSourceMap: true,
|
||||
// webpack-dev-server 相关配置
|
||||
// devServer: {
|
||||
devServer: {
|
||||
// host: '0.0.0.0',
|
||||
// // port: port,
|
||||
// port: 8080,
|
||||
port: 8080,
|
||||
// open: true,
|
||||
// proxy: {
|
||||
// // detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
@@ -45,7 +45,7 @@ module.exports = {
|
||||
// }
|
||||
// },
|
||||
// disableHostCheck: true
|
||||
// },
|
||||
},
|
||||
// 强制内联CSS
|
||||
// 默认true: 使用CSS分离插件 ExtractTextPlugin,采用独立样式文件载入,不采用 <style> 方式内联至 html 文件中
|
||||
css: { extract: false },
|
||||
|
||||
Reference in New Issue
Block a user