Skip to content

9e9d991

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 02:26

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.