mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
[html/css/json] update language servers (#195157)
* [html/css/json] update language servers * extension webpack: add conditionNames to prefer import over require
This commit is contained in:
committed by
GitHub
parent
61ca2bec1c
commit
e1b62b9b9e
@@ -29,7 +29,9 @@ function withNodeDefaults(/**@type WebpackConfig & { context: string }*/extConfi
|
||||
node: {
|
||||
__dirname: false // leave the __dirname-behaviour intact
|
||||
},
|
||||
|
||||
resolve: {
|
||||
conditionNames: ['import', 'require'],
|
||||
mainFields: ['module', 'main'],
|
||||
extensions: ['.ts', '.js'] // support ts-files and js-files
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user