Repository navigation
9e9d991
Pre-release
Pre-release
fix(web): Minify the built pages with html-minifier-next directly
html-minifier-next 9 can only be imported as an ES module, and
vite-plugin-minify, whose package has no exports map, is loaded from its
CommonJS build, which requires it, so the web client's build stopped at
loading vite.config.ts. Both configs now carry the plugin, a
transformIndexHtml hook that runs last and calls minify with the same
options, and depend on html-minifier-next in place of vite-plugin-minify,
with no override.
The web client builds to the same 2037 files, byte for byte, as before the
dependency update.