mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
Adopt copy-webpack-plugin breaking change
This commit is contained in:
@@ -71,7 +71,7 @@ function withNodeDefaults(/**@type WebpackConfig*/extConfig) {
|
||||
plugins: [
|
||||
// @ts-expect-error
|
||||
new CopyWebpackPlugin([
|
||||
{ from: 'src', to: '.', ignore: ['**/test/**', '*.ts'] }
|
||||
{ from: 'src', to: '.', globOptions: { ignore: ['**/test/**', '*.ts'] } }
|
||||
]),
|
||||
new NLSBundlePlugin(id)
|
||||
],
|
||||
@@ -128,7 +128,7 @@ function withBrowserDefaults(/**@type WebpackConfig*/extConfig) {
|
||||
plugins: [
|
||||
// @ts-expect-error
|
||||
new CopyWebpackPlugin([
|
||||
{ from: 'src', to: '.', ignore: ['**/test/**', '*.ts'] }
|
||||
{ from: 'src', to: '.', globOptions: { ignore: ['**/test/**', '*.ts'] } }
|
||||
]),
|
||||
new DefinePlugin({ WEBWORKER: JSON.stringify(true) })
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user