Skip to content

Commit

Permalink
Merge pull request DSpace#3539 from DSpace/dependabot/npm_and_yarn/ma…
Browse files Browse the repository at this point in the history
…in/webpack-5.95.0

Bump webpack from 5.94.0 to 5.95.0
  • Loading branch information
tdonohue authored Oct 23, 2024
2 parents 81fb382 + 87dc6be commit c7497cd
Show file tree
Hide file tree
Showing 4 changed files with 150 additions and 8 deletions.
154 changes: 149 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"sass-resources-loader": "^2.2.5",
"ts-node": "^8.10.2",
"typescript": "~5.4.5",
"webpack": "5.94.0",
"webpack": "5.95.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
Expand Down
1 change: 0 additions & 1 deletion webpack/webpack.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}),
Expand Down
1 change: 0 additions & 1 deletion webpack/webpack.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c7497cd

Please sign in to comment.