webpack config typing fix

This commit is contained in:
Martin Aeschlimann
2021-01-08 17:45:27 +01:00
parent f6bbc8b68d
commit 60bc00ff63
3 changed files with 39 additions and 7 deletions

View File

@@ -69,7 +69,6 @@ function withNodeDefaults(/**@type WebpackConfig*/extConfig) {
// yes, really source maps
devtool: 'source-map',
plugins: [
// @ts-expect-error
new CopyWebpackPlugin({
patterns: [
{ from: 'src', to: '.', globOptions: { ignore: ['**/test/**', '**/*.ts'] }, noErrorOnMissing: true }
@@ -128,7 +127,6 @@ function withBrowserDefaults(/**@type WebpackConfig*/extConfig) {
// yes, really source maps
devtool: 'source-map',
plugins: [
// @ts-expect-error
new CopyWebpackPlugin({
patterns: [
{ from: 'src', to: '.', globOptions: { ignore: ['**/test/**', '**/*.ts'] }, noErrorOnMissing: true }