gets rid of minification issues in Themes.js detected via strictDi: true
To-dos:
[x] remove strictDi: true => kept it to catch minification issues on dev in the future
[x] remove exclusions in UglifyJsPlugin (to be tested)
[x] revert .js/.mjs modifications and handle according version for dev and prod => kept .js extension (since prod is no mjs anymore), coping both dev and prod sources to a lux.dist.js file after lib build
JIRA issue
https://jira.camptocamp.com/browse/GSLUX-608
Description
The goal of this PR is to allow activating the
UglifyJsPlugin
.To do so, it:
Themes.js
detected viastrictDi: true
To-dos:
strictDi: true
=> kept it to catch minification issues on dev in the futureUglifyJsPlugin
(to be tested).js/.mjs
modifications and handle according version for dev and prod => kept .js extension (sinceprod
is nomjs
anymore), coping bothdev
andprod
sources to alux.dist.js
file after lib build