dgp1130 / rules_prerender

A Bazel rule set for prerending HTML pages.
13 stars 0 forks source link

Minify JS #19

Open dgp1130 opened 3 years ago

dgp1130 commented 3 years ago

Before we could move this out of experimental and declare it ready for production, I think it is necessary to have some means of minifying the output JavaScript. prerender_page_bundled() should automatically minify its outputs, probably just by adding terser() to the Rollup bundle. prerender_page() probably doesn't need to support this since users of it are responsible for bundling/optimizing it themselves.