Commit b22d19ca authored by GuanHua's avatar GuanHua

chore: 注释prod环境的配置

parent e970c1c3
......@@ -5,11 +5,11 @@ import LodashModuleReplacementPlugin from 'lodash-webpack-plugin'
export default defineConfig({
externals: {
"react": 'React',
"react-dom": 'ReactDOM',
"@antv/g2": 'G2',
"@antv/data-set": 'DataSet',
bizcharts: 'BizCharts',
// "react": 'React',
// "react-dom": 'ReactDOM',
// "@antv/g2": 'G2',
// "@antv/data-set": 'DataSet',
// bizcharts: 'BizCharts',
// "lingxi-design-ui": 'LingXiUI',
// "@formily/antd-components": 'FormilyComponent',
// "@lingxi-design/ui": 'LingxiDesignUI',
......@@ -17,11 +17,11 @@ export default defineConfig({
// ...ExternalsAntd
},
scripts: [
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/react.production.min.js',
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/react-dom.production.min.js',
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/g2.min.js',
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/data-set.js',
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/BizCharts.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/react.production.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/react-dom.production.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/g2.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/data-set.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/BizCharts.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/LingXiUI.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/antd.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/formily-component.min.js',
......@@ -29,7 +29,7 @@ export default defineConfig({
],
chainWebpack(config) {
// config.plugin('antd-dayjs-webpack-plugin').use(AntdDayjsWebpackPlugin)
config.plugin('lodash-webpack-plugin').use(LodashModuleReplacementPlugin)
// config.plugin('lodash-webpack-plugin').use(LodashModuleReplacementPlugin)
// config.merge({
// optimization: {
// minimize: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment