webpack - inline vscode-nls for our extensions

This commit is contained in:
Johannes Rieken
2018-09-06 15:12:19 +02:00
parent fc2b0a8ec1
commit 3830d7b238
3 changed files with 6 additions and 1 deletions

View File

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