diff --git a/src/microsoft-trydotnet-editor/webpack.config.js b/src/microsoft-trydotnet-editor/webpack.config.js index ecc22c527..40eba5fc7 100644 --- a/src/microsoft-trydotnet-editor/webpack.config.js +++ b/src/microsoft-trydotnet-editor/webpack.config.js @@ -15,12 +15,20 @@ module.exports = { extensions: ['.ts', '.js'], conditionNames: ['import', 'require', 'default'] }, + ignoreWarnings: [ + (warning) => + warning.module?.resource?.includes('@microsoft/polyglot-notebooks/dist/setup.js') && + warning.message?.includes('require function is used in a way in which dependencies cannot be statically extracted') + ], output: { globalObject: 'self', filename: '[name].bundle.js', path: path.resolve(__dirname, 'dist'), clean: true }, + performance: { + hints: false + }, module: { rules: [ {