fix Style

1.x
王良 2024-11-15 18:02:36 +08:00
parent 5751cea1c4
commit 9f6e970d93
1 changed files with 15 additions and 17 deletions

View File

@ -15,23 +15,21 @@ module.exports = {
title: 'DevSidecar-给开发者的边车辅助工具' title: 'DevSidecar-给开发者的边车辅助工具'
} }
}, },
configureWebpack: (config) => { configureWebpack: {
return { plugins: [
plugins: [ new webpack.DefinePlugin({ 'global.GENTLY': true })
new webpack.DefinePlugin({ 'global.GENTLY': true }) ],
], module: {
module: { rules: [
rules: [ {
{ test: /\.json5$/i,
test: /\.json5$/i, loader: 'json5-loader',
loader: 'json5-loader', options: {
options: { esModule: false
esModule: false },
}, type: 'javascript/auto'
type: 'javascript/auto' }
} ]
]
}
} }
}, },
pluginOptions: { pluginOptions: {