提交 3830d7b2 编写于 作者: J Johannes Rieken

webpack - inline vscode-nls for our extensions

上级 fc2b0a8e
......@@ -25,6 +25,9 @@ module.exports = withDefaults({
path: path.join(__dirname, 'dist'),
libraryTarget: "commonjs",
},
externals: {
"vscode-nls": 'commonjs vscode-nls',
},
plugins: [
new webpack.NormalModuleReplacementPlugin(
/(\/|\\)vscode-languageserver(\/|\\)lib(\/|\\)files\.js/,
......
......@@ -25,6 +25,9 @@ module.exports = withDefaults({
path: path.join(__dirname, 'dist'),
libraryTarget: "commonjs",
},
externals: {
"vscode-nls": 'commonjs vscode-nls',
},
plugins: [
new webpack.NormalModuleReplacementPlugin(
/(\/|\\)vscode-languageserver(\/|\\)lib(\/|\\)files\.js/,
......
......@@ -53,7 +53,6 @@ module.exports = function withDefaults(/**@type WebpackConfig*/extConfig) {
'vscode': 'commonjs vscode', // ignored because it doesn't exist
"vscode-extension-telemetry": 'commonjs vscode-extension-telemetry', // commonly used
"vscode-nls": 'commonjs vscode-nls',
},
output: {
// all output goes into `dist`.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册