vite-plugin-html-env
vite-plugin-html-env copied to clipboard
Vite 5 support
ver: 1.2.8 env: win10 + node20 + vite5 + vue3
Showing the following warning after upgrading to Vite 5:
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for
more details.
plugin 'rollup-plugin-html-env' uses deprecated 'transform' option. Use 'handler' option instead.
same error.
Came here with the same issue, just happened to look at the v4 issue as well to see this might not be necessary depending on your use case. https://github.com/lxs24sxl/vite-plugin-html-env/issues/34#issuecomment-1809846644