From c03912bfeee5ca300c7d29caa5b879484cdba4f3 Mon Sep 17 00:00:00 2001 From: Rhys Date: Tue, 1 Mar 2022 12:01:54 -0500 Subject: [PATCH] fix: update webpack to handle native dependencies correctly (#400) --- webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 6b686d211..33ce936e5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -67,6 +67,7 @@ const extensionConfig = { const languageServerConfig = { ...baseConfig, output: { + strictModuleExceptionHandling: true, path: outputPath, filename: '[name].js', libraryTarget: 'commonjs2', @@ -112,6 +113,7 @@ const languageServerConfig = { const languageServerWorkerConfig = { ...baseConfig, output: { + strictModuleExceptionHandling: true, path: outputPath, filename: '[name].js', libraryTarget: 'commonjs2', @@ -157,6 +159,7 @@ const languageServerWorkerConfig = { const webviewConfig = { ...baseConfig, output: { + strictModuleExceptionHandling: true, path: outputPath, filename: '[name].js', devtoolModuleFilenameTemplate: '../[resource-path]'