mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
copy nls
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
const withDefaults = require('../shared.webpack.config');
|
const withDefaults = require('../shared.webpack.config');
|
||||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||||
|
|
||||||
|
|
||||||
module.exports = withDefaults({
|
module.exports = withDefaults({
|
||||||
context: __dirname,
|
context: __dirname,
|
||||||
node: {
|
node: {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const withDefaults = require('../shared.webpack.config');
|
const withDefaults = require('../shared.webpack.config');
|
||||||
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||||
|
|
||||||
module.exports = withDefaults({
|
module.exports = withDefaults({
|
||||||
context: __dirname,
|
context: __dirname,
|
||||||
@@ -19,5 +20,10 @@ module.exports = withDefaults({
|
|||||||
},
|
},
|
||||||
entry: {
|
entry: {
|
||||||
extension: './src/extension.ts',
|
extension: './src/extension.ts',
|
||||||
}
|
},
|
||||||
|
plugins: [
|
||||||
|
new CopyWebpackPlugin([
|
||||||
|
{ from: './out/nls.*.json', to: '[name].json' }
|
||||||
|
])
|
||||||
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user