Open athos-ribeiro opened 2 years ago
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