|
@@ -7,12 +7,15 @@ import routes from './routes';
|
7
|
7
|
const { REACT_APP_ENV } = process.env;
|
8
|
8
|
|
9
|
9
|
export default defineConfig({
|
|
10
|
+ mfsu: {},
|
|
11
|
+ webpack5: {},
|
10
|
12
|
define: {
|
11
|
13
|
API_BASE: 'http://invoice-filling.stategrid.njyunzhi.com',
|
12
|
|
- H5_URL:'http://h5.njyunzhi.com/state-grid/invoice-filling-h5/index.html',
|
13
|
|
- MODEL_URL:'https://h5.njyunzhi.com/assets/%E6%8A%A5%E9%94%80%E4%BA%BA%E5%91%98%E6%A8%A1%E6%9D%BF.xlsx'
|
|
14
|
+ H5_URL: 'http://h5.njyunzhi.com/state-grid/invoice-filling-h5/index.html',
|
|
15
|
+ MODEL_URL:
|
|
16
|
+ 'https://h5.njyunzhi.com/assets/%E6%8A%A5%E9%94%80%E4%BA%BA%E5%91%98%E6%A8%A1%E6%9D%BF.xlsx',
|
14
|
17
|
},
|
15
|
|
- base: '/', // 路由跳转必须加 admin
|
|
18
|
+ base: '/', // 路由跳转必须加 admin
|
16
|
19
|
publicPath: './', // 静态文件相对路径
|
17
|
20
|
hash: true,
|
18
|
21
|
history: {
|
|
@@ -76,7 +79,6 @@ export default defineConfig({
|
76
|
79
|
nodeModulesTransform: {
|
77
|
80
|
type: 'none',
|
78
|
81
|
},
|
79
|
|
- // mfsu: {},
|
80
|
|
- webpack5: {},
|
|
82
|
+
|
81
|
83
|
exportStatic: {},
|
82
|
84
|
});
|