Skip to content

Commit 4623e64

Browse files
author
sky
committed
chore: easy config
1 parent 4ff93fb commit 4623e64

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/config.local.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { EggAppConfig } from 'egg';
22
import * as path from 'path';
3+
import { getWebpackConfig } from 'easywebpack-vue';
34

45
export default (appInfo: EggAppConfig) => {
56
const exports: any = {};
@@ -21,5 +22,10 @@ export default (appInfo: EggAppConfig) => {
2122
injectCss: false
2223
};
2324

25+
exports.webpack = {
26+
browser: false,
27+
webpackConfigList: getWebpackConfig()
28+
}
29+
2430
return exports;
2531
};

0 commit comments

Comments
 (0)