Commits

Alexandre Vryghem authored and github-actions[bot] committed 4e05a5c3103
Temporarily ignore type errors from EnvironmentPlugin since type matching is currently too strict

(cherry picked from commit 7dea5f7d98afc6a6ab2ac8438eea4b00dd00175d)
No tags

webpack/webpack.common.ts

Modified
72 72 implementation: sass,
73 73 sassOptions: {
74 74 includePaths: [projectRoot('./')]
75 75 }
76 76 }
77 77 },
78 78 ];
79 79
80 80 export const commonExports = {
81 81 plugins: [
82 + // @ts-expect-error: EnvironmentPlugin constructor types are currently to strict see issue https://github.com/webpack/webpack/issues/18719
82 83 new EnvironmentPlugin({
83 84 languageHashes: getFileHashes(path.join(__dirname, '..', 'src', 'assets', 'i18n'), /.*\.json5/g),
84 85 }),
85 86 new CopyWebpackPlugin(copyWebpackOptions),
86 87 ],
87 88 module: {
88 89 rules: [
89 90 {
90 91 test: /\.ts$/,
91 92 loader: '@ngtools/webpack'

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut