Skip to content

Commit 02ccde6

Browse files
committed
add webpack
Signed-off-by: HueiFeng <695979933@qq.com>
1 parent 0a6b52c commit 02ccde6

File tree

4 files changed

+1397
-3665
lines changed

4 files changed

+1397
-3665
lines changed

web/angular.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@
1717
"prefix": "app",
1818
"architect": {
1919
"build": {
20-
"builder": "@angular-devkit/build-angular:browser",
20+
"builder": "@angular-builders/custom-webpack:browser",
2121
"options": {
2222
"allowedCommonJsDependencies": [
2323
"js-yaml",
2424
"rxjs"
2525
],
26+
"customWebpackConfig":{
27+
"path": "./webpack.config.js"
28+
},
2629
"outputPath": "dist",
2730
"index": "src/index.html",
2831
"main": "src/main.ts",

0 commit comments

Comments
 (0)