mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Adopt copy-webpack-plugin breaking change
This commit is contained in:
parent
6de06bc8c8
commit
2aa92c6e83
|
@ -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) })
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue