fix:处理中英文完全一样的国际化为一个

This commit is contained in:
zhangyu
2022-06-16 15:58:17 +08:00
parent c5976c83ee
commit e65f37b5b5
159 changed files with 1194 additions and 599 deletions

View File

@@ -9,7 +9,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
const portfinder = require('portfinder')
const intro = require('intro.js')
const HOST = process.env.HOST
const PORT = process.env.PORT && Number(process.env.PORT)
const devStart = process.env.npm_lifecycle_event
@@ -49,6 +49,9 @@ devWebpackConfig = merge(baseWebpackConfig, {
}
},
plugins: [
new webpack.ProvidePlugin({
introJs: ['intro.js']
}),
new webpack.DefinePlugin({
'process.env': require('../config/dev.env')
}),