diff --git a/extensions/json-language-features/server/extension.webpack.config.js b/extensions/json-language-features/server/extension.webpack.config.js index 37e4207daac..23d653ecb51 100644 --- a/extensions/json-language-features/server/extension.webpack.config.js +++ b/extensions/json-language-features/server/extension.webpack.config.js @@ -30,7 +30,7 @@ module.exports = withDefaults({ }, plugins: [ new webpack.NormalModuleReplacementPlugin( - /\/vscode-languageserver\/lib\/files\.js/, + /\/|\\vscode-languageserver\/|\\lib\/|\\files\.js/, require.resolve('./build/files') ), new webpack.IgnorePlugin(/vertx/)