Skip to content

Commit c03912b

Browse files
authored
fix: update webpack to handle native dependencies correctly (#400)
1 parent 6b1b884 commit c03912b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const extensionConfig = {
6767
const languageServerConfig = {
6868
...baseConfig,
6969
output: {
70+
strictModuleExceptionHandling: true,
7071
path: outputPath,
7172
filename: '[name].js',
7273
libraryTarget: 'commonjs2',
@@ -112,6 +113,7 @@ const languageServerConfig = {
112113
const languageServerWorkerConfig = {
113114
...baseConfig,
114115
output: {
116+
strictModuleExceptionHandling: true,
115117
path: outputPath,
116118
filename: '[name].js',
117119
libraryTarget: 'commonjs2',
@@ -157,6 +159,7 @@ const languageServerWorkerConfig = {
157159
const webviewConfig = {
158160
...baseConfig,
159161
output: {
162+
strictModuleExceptionHandling: true,
160163
path: outputPath,
161164
filename: '[name].js',
162165
devtoolModuleFilenameTemplate: '../[resource-path]'

0 commit comments

Comments
 (0)