Skip to content

Commit ca356c9

Browse files
authored
Fix webpack config (#2385)
1 parent f70066c commit ca356c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

craco.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const cracoConfig = (module.exports = {
7878
];
7979

8080
// Workaround to suppress warnings caused by ts-morph in js-slang
81-
webpackConfig.module.noParse = /typescript\.js$/;
81+
webpackConfig.module.noParse = /node_modules\/@ts-morph\/common\/dist\/typescript\.js$/;
8282

8383
return webpackConfig;
8484
}

0 commit comments

Comments
 (0)