We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--skip-minify
1 parent 6eb8455 commit ecb2810Copy full SHA for ecb2810
src/bin/hsm.ts
@@ -112,6 +112,15 @@ switch (commands[0]) {
112
case `golf`:
113
case `minify`: {
114
const noMinifyOption = popOption(`no-minify`, `skip-minify`)
115
+
116
+ if (noMinifyOption && noMinifyOption.name != `no-minify`) {
117
+ console.warn(colourF(`\
118
+Warning: ${formatOption(noMinifyOption.name)} is being deprecated and will be removed in the next minor
119
+ release of HSM
120
+ You should switch to using its alias ${colourN(`--no-minify`)}\n`
121
+ ))
122
+ }
123
124
const mangleNamesOption = popOption(`mangle-names`)
125
const forceQuineCheatsOption = popOption(`force-quine-cheats`)
126
const noMinifyIncompatibleOption = mangleNamesOption || forceQuineCheatsOption
0 commit comments