mirror of
https://github.com/Microsoft/vscode
synced 2024-10-01 08:50:48 +00:00
Update condition names to allow node (#198274)
update condition names to allow node
This commit is contained in:
parent
af63c41918
commit
092bc7309b
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue