Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant