Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] Upgrade from Webpack 4 to 5 #1118

Open
tmarkley opened this issue Jan 10, 2022 · 1 comment
Open

[Build] Upgrade from Webpack 4 to 5 #1118

tmarkley opened this issue Jan 10, 2022 · 1 comment
Labels
build Build related additions or modifications enhancement New feature or request technical debt If not paid, jeapardizes long-term success and maintainability of the repository. v3.0.0

Comments

@tmarkley
Copy link
Contributor

tmarkley commented Jan 10, 2022

Webpack 5 was released in October, 2020 and provides performance and compatibility improvements.

Additionally, Webpack 4 is blocking at least one CVE fix. #1066 requires an upgrade to webpack@5.x because node-sass@6.x depends on a vulnerable version of json-schema. In order to bump to node-sass@7.x to mitigate this vulnerability, sass-loader also has to be upgraded from v10 to v12. However, v11 dropped support for webpack@4.x.

Webpack provides a complete list of changes required for the migration from 4 to 5.

@tmarkley tmarkley added enhancement New feature or request build Build related additions or modifications v2.0.0 labels Jan 10, 2022
@boktorbb boktorbb self-assigned this Jan 24, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
@boktorbb boktorbb removed the v2.0.0 label Mar 31, 2022
@boktorbb
Copy link
Contributor

This issue will not make it in for 2.0 due to significant refactoring efforts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build related additions or modifications enhancement New feature or request technical debt If not paid, jeapardizes long-term success and maintainability of the repository. v3.0.0
Projects
None yet
Development

No branches or pull requests

3 participants