mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Remove unnecessary @ts-expect-error, as the bug they are expecting is fixed in webpack 5.95.0.
This commit is contained in:
@@ -79,7 +79,6 @@ const SCSS_LOADERS = [
|
||||
|
||||
export const commonExports = {
|
||||
plugins: [
|
||||
// @ts-expect-error: EnvironmentPlugin constructor types are currently to strict see issue https://github.com/webpack/webpack/issues/18719
|
||||
new EnvironmentPlugin({
|
||||
languageHashes: getFileHashes(path.join(__dirname, '..', 'src', 'assets', 'i18n'), /.*\.json5/g),
|
||||
}),
|
||||
|
@@ -6,7 +6,6 @@ import { commonExports } from './webpack.common';
|
||||
module.exports = Object.assign({}, commonExports, {
|
||||
plugins: [
|
||||
...commonExports.plugins,
|
||||
// @ts-expect-error: EnvironmentPlugin constructor types are currently to strict see issue https://github.com/webpack/webpack/issues/18719
|
||||
new EnvironmentPlugin({
|
||||
'process.env': {
|
||||
NODE_ENV: 'production',
|
||||
|
Reference in New Issue
Block a user