[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:
Martin Aeschlimann
2023-10-11 09:41:12 +02:00
committed by GitHub
parent 61ca2bec1c
commit e1b62b9b9e
13 changed files with 188 additions and 186 deletions

View File

@@ -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
},