Skip to content

Terser configs via flag#20

Merged
bfanger merged 3 commits into
bfanger:mainfrom
Polliog:terser-configs
May 17, 2025
Merged

Terser configs via flag#20
bfanger merged 3 commits into
bfanger:mainfrom
Polliog:terser-configs

Conversation

@Polliog

@Polliog Polliog commented May 16, 2025

Copy link
Copy Markdown
Contributor

This PR adds the ability to specify a custom Terser #19 configuration file via the --terser-config command line option. This enhancement allows users to fine-tune the JavaScript minification process to meet their specific needs.

The custom Terser configuration is only applied when minification is enabled (minify = true).

@Polliog Polliog changed the title Terser configs via options Terser configs via flag May 16, 2025
Comment thread src/build.js Outdated
Comment thread src/build.js Outdated
Comment thread Readme.md
@Polliog
Polliog requested a review from bfanger May 16, 2025 16:22
@bfanger
bfanger merged commit 8599ac5 into bfanger:main May 17, 2025
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