新增商品列表

This commit is contained in:
gyq
2024-01-03 14:49:37 +08:00
parent 6c2fb9b16e
commit 2d8d325449
7 changed files with 149 additions and 272 deletions

View File

@@ -17,7 +17,7 @@ module.exports = {
publicPath: '/',
outputDir: 'dist',
assetsDir: 'static',
lintOnSave: process.env.NODE_ENV === 'production',
lintOnSave: false,
productionSourceMap: false,
devServer: {
port: port,
@@ -108,7 +108,7 @@ module.exports = {
.plugin('ScriptExtHtmlWebpackPlugin')
.after('html')
.use('script-ext-html-webpack-plugin', [{
// `runtime` must same as runtimeChunk name. default is `runtime`
// `runtime` must same as runtimeChunk name. default is `runtime`
inline: /runtime\..*\.js$/
}])
.end()