Skip to content

Commit

Permalink
update condition names to allow node
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid220u committed Nov 15, 2023
1 parent b3a649f commit 90c1b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/shared.webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function withNodeDefaults(/**@type WebpackConfig & { context: string }*/extConfi
},

resolve: {
conditionNames: ['import', 'require'],
conditionNames: ['import', 'require', 'node-addons', 'node'],
mainFields: ['module', 'main'],
extensions: ['.ts', '.js'] // support ts-files and js-files
},
Expand Down

0 comments on commit 90c1b5b

Please sign in to comment.