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

GSLUX-608 Activate UglifyPlugin #3143

Merged
merged 7 commits into from
May 23, 2024
Merged

GSLUX-608 Activate UglifyPlugin #3143

merged 7 commits into from
May 23, 2024

Conversation

tkohr
Copy link
Contributor

@tkohr tkohr commented May 15, 2024

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:

To-dos:

  • remove strictDi: true => kept it to catch minification issues on dev in the future
  • remove exclusions in UglifyJsPlugin (to be tested)
  • 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
  • cleanup and test

@tkohr tkohr marked this pull request as ready for review May 22, 2024 14:29
Copy link
Contributor

@AlitaBernachot AlitaBernachot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working great! Thanks for the work

@tkohr tkohr merged commit 3578912 into integration-vue May 23, 2024
@tkohr tkohr deleted the uglify-test branch May 23, 2024 08:59
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.

2 participants