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

Add support for webpack v5 #2177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

athos-ribeiro
Copy link

In [1], webpack upstream states that module.rules.loaders was removed.
In [2], the upstream docs state that module.rules.loaders is an alias to
module.rules.use. Therefore, we patch the config file to switch from the
latter to the later.

[1] https://webpack.js.org/blog/2020-10-10-webpack-5-release/
[2] https://v4.webpack.js.org/configuration/module/#ruleloaders

Signed-off-by: Athos Ribeiro athos.ribeiro@canonical.com

In [1], webpack upstream states that module.rules.loaders was removed.
In [2], the upstream docs state that module.rules.loaders is an alias to
module.rules.use. Therefore, we patch the config file to switch from the
latter to the later.

[1] https://webpack.js.org/blog/2020-10-10-webpack-5-release/
[2] https://v4.webpack.js.org/configuration/module/#ruleloaders

Signed-off-by: Athos Ribeiro <athos.ribeiro@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant