Skip to content

Commit

Permalink
dev: Use custom webpack builder
Browse files Browse the repository at this point in the history
Signed-off-by: Kwong Tung Nan <[email protected]>
  • Loading branch information
kwongtn committed Jun 18, 2024
1 parent 5ed7720 commit 6531cb8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"sourceMap": true,
"outputPath": "dist/public",
Expand All @@ -45,7 +45,11 @@
"node_modules/marked/marked.min.js",
"node_modules/mermaid/dist/mermaid.min.js",
"node_modules/emoji-toolkit/lib/js/joypixels.min.js"
]
],
"customWebpackConfig": {
"path": "./webpack.config.js",
"replaceDuplicatePlugins": true
}
},
"configurations": {
"production": {
Expand Down

0 comments on commit 6531cb8

Please sign in to comment.