Skip to content

Commit 7f50cb8

Browse files
authored
build(cra): make worker paths configurable (#5467)
1 parent 12923be commit 7f50cb8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ REACT_APP_COMPACT_BUNDLE=true
1919

2020
REACT_APP_VERSION=$npm_package_version
2121

22+
REACT_APP_APIDOM_WORKER_PATH=./src/plugins/editor-monaco-language-apidom/language/apidom.worker.js
2223
REACT_APP_APIDOM_WORKER_FILENAME=./apidom.worker.js
24+
REACT_APP_EDITOR_WORKER_PATH=./node_modules/monaco-editor/esm/vs/editor/editor.worker.js
2325
REACT_APP_EDITOR_WORKER_FILENAME=./editor.worker.js

0 commit comments

Comments
 (0)