File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -360,6 +360,9 @@ module.exports = function (webpackEnv) {
360
360
'monaco-editor$' : 'monaco-editor/esm/vs/editor/edcore.main.js' ,
361
361
// This alias makes sure we don't pull two different versions of monaco-editor
362
362
'monaco-editor' : '/node_modules/monaco-editor' ,
363
+ // This alias makes sure we're avoiding a runtime error related to this package
364
+ '@stoplight/ordered-object-literal$' :
365
+ '/node_modules/@stoplight/ordered-object-literal/src/index.mjs' ,
363
366
// This alias makes sure we don't pull two different versions of ApiDOM.
364
367
// swagger-client uses ApiDOM as well, and might come with different ApiDOM version.
365
368
// SwaggerEditor ApiDOM dependency takes precendence in the resolution.
@@ -466,6 +469,7 @@ module.exports = function (webpackEnv) {
466
469
/ v s c o d e - j s o n r p c / ,
467
470
/ a u t o l i n k e r / ,
468
471
/ @ j s d e v t o o l s \/ o n o / ,
472
+ / @ s t o p l i g h t / ,
469
473
] ,
470
474
test : / \. ( j s | m j s | j s x | t s | t s x | c s s ) $ / ,
471
475
loader : require . resolve ( 'source-map-loader' ) ,
You can’t perform that action at this time.
0 commit comments