stable

Clone or download

Read-only

request #17195: Upgrade to Webpack 5

Some plugins have been updated to get the latest versions compatible with Webpack 5 (and the bugfixes) and some have been exchanged for their alternative supporting Webpack 5. A few loaders have been removed to be replaced by the native alternative proposed by Webpack 5. The `exports` field of the libraries including a stylesheet have been removed to avoid issues when importing the stylesheets. Since the libraries are internal and we do not need the set of features proposed by the `exports` for now it is likely we want to remove it from our other internal libraries too in a future contribution, at the very least to be consistent. A deprecation remains in the MergeIntoSingleFilePlugin but it does cause issues. A fix will be upstreamed. Change-Id: Ie0dffa7cce3d21b1d5265bf7d89443b8b29fecd4

Modified Files

Name
M package-lock.json +548 −2228 Go to diff View file
M package.json +7 −8 Go to diff View file
M plugins/agiledashboard/package-lock.json +24 −0 Go to diff View file
M plugins/agiledashboard/package.json +2 −0 Go to diff View file
M plugins/agiledashboard/webpack.common.js +17 −2 Go to diff View file
M plugins/cardwall/webpack.common.js +0 −1 Go to diff View file
M plugins/docman/webpack.common.js +0 −1 Go to diff View file
M plugins/forumml/webpack.common.js +0 −1 Go to diff View file
M plugins/git/webpack.common.js +1 −3 Go to diff View file
M plugins/testmanagement/package-lock.json +29 −0 Go to diff View file
M plugins/testmanagement/package.json +3 −0 Go to diff View file
M plugins/testmanagement/webpack.common.js +11 −1 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/package-lock.json +24 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/package.json +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/package.json +0 −6 Go to diff View file
M plugins/tracker/webpack.common.js +1 −3 Go to diff View file
M plugins/tracker_encryption/webpack.common.js +0 −1 Go to diff View file
M src/scripts/lib/drag-and-drop/package.json +0 −6 Go to diff View file
M src/scripts/lib/list-picker/package.json +0 −6 Go to diff View file
M src/scripts/lib/mention/package.json +0 −6 Go to diff View file
M src/webpack.common.js +2 −10 Go to diff View file
M tools/utils/scripts/webpack-configurator.js +24 −11 Go to diff View file
D tools/utils/scripts/webpack-custom-plugins.js +0 −30 Go to diff View file
M tools/utils/scripts/webpack-rule-configs.js +16 −30 Go to diff View file