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

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 [email protected]

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 <[email protected]>
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