CSS und JS tree-shaking
-
Hi,
I am curious if it would be possible to hook into your plugin to have a CSS and JS tree-shaking or maybe include it in your plugin :-). If I am just using a theme without any plugins I can use webpack to treeshake CSS und JS during build. But with 40+ plugins in place each adding CSS by its own, it is not possible. However, Autoptimize creates a single CSS and JS file. So, it must be possible to hook into them, let a tree-shaking plugin to its magic and return the optimized codes to the user.
What do you think?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘CSS und JS tree-shaking’ is closed to new replies.