Skip to content

Commit 11bf95b

Browse files
committed
no need to pass LICENSES_FILE to webpack, remove excludeAssets option
1 parent 79e3e3a commit 11bf95b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ watch: ## watch everything and continuously rebuild
431431
.PHONY: watch-frontend
432432
watch-frontend: $(LICENSES_FILE) node-check node_modules ## watch frontend files and continuously rebuild
433433
@rm -rf $(WEBPACK_DEST_ENTRIES)
434-
@BROWSERSLIST_IGNORE_OLD_DATA=true NODE_ENV=development $(NODE_VARS) LICENSES_FILE=$(LICENSES_FILE) pnpm exec webpack --watch --progress --disable-interpret
434+
@BROWSERSLIST_IGNORE_OLD_DATA=true NODE_ENV=development $(NODE_VARS) pnpm exec webpack --watch --progress --disable-interpret
435435

436436
.PHONY: watch-backend
437437
watch-backend: go-check ## watch backend files and continuously rebuild
@@ -881,7 +881,7 @@ $(WEBPACK_DEST): $(WEBPACK_SOURCES) $(WEBPACK_CONFIGS) $(LICENSES_FILE) pnpm-loc
881881
@$(MAKE) -s node-check node_modules
882882
@rm -rf $(WEBPACK_DEST_ENTRIES)
883883
@echo "Running webpack..."
884-
@BROWSERSLIST_IGNORE_OLD_DATA=true $(NODE_VARS) LICENSES_FILE=$(LICENSES_FILE) pnpm exec webpack --disable-interpret
884+
@BROWSERSLIST_IGNORE_OLD_DATA=true $(NODE_VARS) pnpm exec webpack --disable-interpret
885885
@touch $(WEBPACK_DEST)
886886

887887
.PHONY: svg

webpack.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,6 @@ export default {
235235
chunksSort: 'name',
236236
colors: true,
237237
entrypoints: false,
238-
excludeAssets: [
239-
/^js\/monaco-language-.+\.js$/,
240-
].filter(Boolean),
241238
groupAssetsByChunk: false,
242239
groupAssetsByEmitStatus: false,
243240
groupAssetsByInfo: false,

0 commit comments

Comments
 (0)