disable minification for child compilers
See original GitHub issueIn order to optimize the compilation time for the html-webpack-plugin I would like to opt out from terser during the template compilation.
The minification would not help here as the generated code will not be saved to disked but is run directly. However it takes time for terser to minify and this time can be saved.
So basically I am looking for something like the following which can be set when create a child compiler:
module.exports = {
//...
optimization: {
minimize: false
}
};
Issue Analytics
- State:
- Created 3 years ago
- Comments:24 (22 by maintainers)
Top Results From Across the Web
How can I prevent the closure compiler from minifying certain ...
I'm including it in my project.cljs file like so: [cljsjs/quill "1.3.5-0"] . The compiler is minifying some methods and is causing an error:...
Read more >Optimization - webpack
Tells webpack to merge chunks which contain the same modules. Setting optimization.mergeDuplicateChunks to false will disable this optimization. webpack.config.
Read more >Change the minification engine for client libraries in AEM
How to use a different minification library for AEM client libraries than the default YUI Compressor library? Resolution. In AEM, you can swap ......
Read more >CSS compilers — webassets 0.12.1 documentation
The above code block behaves exactly like you would want it to: When debugging, the less files are compiled to CSS, but the...
Read more >What is Minification and why is it Wreaking Havoc
If you want to disable minification completely then you'll need to first clear the cache that the plugin has created and then deactivate...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Cool thanks 👍
Let me know if I can help you there.
@jantimon I will send a PR in near future, bit busy right now