File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -221,14 +221,12 @@ module.exports = function (webpackEnv) {
221
221
entry : {
222
222
main : paths . appIndexJs ,
223
223
'apidom.worker' : path . join (
224
- paths . appSrc ,
225
- 'plugins' ,
226
- 'editor-monaco-language-apidom' ,
227
- 'language' ,
228
- 'apidom.worker.js'
224
+ paths . appPath ,
225
+ process . env . REACT_APP_APIDOM_WORKER_PATH
229
226
) ,
230
- 'editor.worker' : require . resolve (
231
- 'monaco-editor/esm/vs/editor/editor.worker.js'
227
+ 'editor.worker' : path . join (
228
+ paths . appPath ,
229
+ process . env . REACT_APP_EDITOR_WORKER_PATH
232
230
) ,
233
231
} ,
234
232
externals : {
@@ -347,6 +345,7 @@ module.exports = function (webpackEnv) {
347
345
// Support React Native Web
348
346
// https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/
349
347
'react-native' : 'react-native-web' ,
348
+ 'react/jsx-runtime.js' : 'react/jsx-runtime' ,
350
349
// Allows for better profiling with ReactDevTools
351
350
...( isEnvProductionProfile && {
352
351
'react-dom$' : 'react-dom/profiling' ,
You can’t perform that action at this time.
0 commit comments