Skip to content

Commit

Permalink
fix: update webpack to handle native dependencies correctly (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anemy committed Mar 1, 2022
1 parent 6b1b884 commit c03912b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const extensionConfig = {
const languageServerConfig = {
...baseConfig,
output: {
strictModuleExceptionHandling: true,
path: outputPath,
filename: '[name].js',
libraryTarget: 'commonjs2',
Expand Down Expand Up @@ -112,6 +113,7 @@ const languageServerConfig = {
const languageServerWorkerConfig = {
...baseConfig,
output: {
strictModuleExceptionHandling: true,
path: outputPath,
filename: '[name].js',
libraryTarget: 'commonjs2',
Expand Down Expand Up @@ -157,6 +159,7 @@ const languageServerWorkerConfig = {
const webviewConfig = {
...baseConfig,
output: {
strictModuleExceptionHandling: true,
path: outputPath,
filename: '[name].js',
devtoolModuleFilenameTemplate: '../[resource-path]'
Expand Down

0 comments on commit c03912b

Please sign in to comment.