vite-plugin-html-env icon indicating copy to clipboard operation
vite-plugin-html-env copied to clipboard

Vite 5 support

Open horans opened this issue 2 years ago • 2 comments

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.

horans avatar Nov 24 '23 03:11 horans

same error.

pipinet avatar Dec 21 '23 01:12 pipinet

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

aronduby avatar Apr 01 '24 19:04 aronduby