Closed iwjis closed 2 years ago
Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!
If you are referring to the javascript options.
You can use the setting "MinifyAll.terserMinifyOptions"
You can edit your settings.json file and set something like:
"MinifyAll.terserMinifyOptions": {
"mangle": true,
"compress": {
"drop_console": true,
"dead_code": false,
"keep_fnames": false,
"keep_classnames": false
}
}
The previous code is an example and you can modify any other javascript minimization setting. You can find more information about all the settings in the terser's github page
@iwjis any news?
I will close this issue as the issue creator doesn't respond. If you want to reopen it again, make sure to mention me so we can discuss what to do
How to modify the configuration when some code is lost after compression?*
Some code is missing after compression,
In Sublime Text3 can do this by changing the \Data\Packages\Minify\Minify
cmd.extend([self.quoteChrs(inpfile), '-o', self.quoteChrs(outfile), '-m', '-c'])
Remove '-m', '-c' to OK!,
Where can I set VS Code?
Before compression After the compression