mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
extension webpack: do not copy .ts files as resources
This commit is contained in:
@@ -72,7 +72,7 @@ function withNodeDefaults(/**@type WebpackConfig*/extConfig) {
|
||||
// @ts-expect-error
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{ from: 'src', to: '.', globOptions: { ignore: ['**/test/**', '*.ts'] } }
|
||||
{ from: 'src', to: '.', globOptions: { ignore: ['**/test/**', '**/*.ts'] } }
|
||||
]
|
||||
}),
|
||||
new NLSBundlePlugin(id)
|
||||
@@ -131,7 +131,7 @@ function withBrowserDefaults(/**@type WebpackConfig*/extConfig) {
|
||||
// @ts-expect-error
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{ from: 'src', to: '.', globOptions: { ignore: ['**/test/**', '*.ts'] } }
|
||||
{ from: 'src', to: '.', globOptions: { ignore: ['**/test/**', '**/*.ts'] } }
|
||||
]
|
||||
}),
|
||||
new DefinePlugin({ WEBWORKER: JSON.stringify(true) })
|
||||
|
||||
Reference in New Issue
Block a user