Replies: 1 comment 9 replies
-
+1 on this, does anyone have a solution yet? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We using the
@vitejs/plugin-legacy
in Remix. This plugin usestransformIndexHtml
to insert<script src="legacyPolyfillFilename.js" >
in the HTML.When
remix vite:build
is executed using@vitejs/plugin-legacy
, apolyfills-xxxx.js
file is generated under/build/assets/
.I checked the
buid/.vite/client-manifest.json
file:But
vite/legacy-polyfills
is not processed during the conversion frombuid/.vite/client-manifest.json
tobuild/manifest.js
.How to use
@vitejs/plugin-legacy
correctly?Beta Was this translation helpful? Give feedback.
All reactions