#esbuild options
1 messages · Page 1 of 1 (latest)
just use shared option esbuild: https://vitejs.dev/config/shared-options.html#esbuild
which controls the transform behavior of esbuild.
—— minification is part of esbuild transformation.
1 messages · Page 1 of 1 (latest)
Is there a way to pass options to esbuild during the build process?
While there exists build.terserOptions, there's no such key for esbuild options.
just use shared option esbuild: https://vitejs.dev/config/shared-options.html#esbuild
which controls the transform behavior of esbuild.
—— minification is part of esbuild transformation.