Skip to content

Commit 87dc6be

Browse files
committed
Remove unnecessary @ts-expect-error, as the bug they are expecting is fixed in webpack 5.95.0.
1 parent 93c6ab2 commit 87dc6be

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

webpack/webpack.common.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ const SCSS_LOADERS = [
7979

8080
export const commonExports = {
8181
plugins: [
82-
// @ts-expect-error: EnvironmentPlugin constructor types are currently to strict see issue https://github.com/webpack/webpack/issues/18719
8382
new EnvironmentPlugin({
8483
languageHashes: getFileHashes(path.join(__dirname, '..', 'src', 'assets', 'i18n'), /.*\.json5/g),
8584
}),

webpack/webpack.prod.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { commonExports } from './webpack.common';
66
module.exports = Object.assign({}, commonExports, {
77
plugins: [
88
...commonExports.plugins,
9-
// @ts-expect-error: EnvironmentPlugin constructor types are currently to strict see issue https://github.com/webpack/webpack/issues/18719
109
new EnvironmentPlugin({
1110
'process.env': {
1211
NODE_ENV: 'production',

0 commit comments

Comments
 (0)