vite-plugin-vue2 1.9.3 And it seems to be okay with IE11. Gosh, you have no idea how much I hate to maintain IE11 compatibility on that project... What a nightmare. Thank you very much!
Describe the bug Hey, I try to build a template lib with Vite + Vue2.7.3 + @vitejs/plugin-vue2, to support IE11, as vitesse-lite. Everything is all right, but have a problem after build. There is a index-legacy-[hash].js file, it include...
By now, the build product can work on IE11, but display a blank page without any error message. Reproduction plugins:[legacy({"targets":{'ie':9},additionalLegacyPolyfills:['regenerator-runtime/runtime'],polyfills:['es.object.define-properties','es.object.define-property','es.object.define-...
16 changes: 0 additions & 16 deletions 16 packages/plugin-legacy/README.md Original file line numberDiff line numberDiff line change @@ -27,22 +27,6 @@ export default { } ``` When targeting IE11, you also need `regenerator-runtime`: ```js // vite.config.js import legacy from ...
jiakangningcommentedOct 11, 2022• edited I have figured out a solution to bundle lib supporting old browser without dependent@vitejs/plugin-legacyalthough I insist that lib no need to worry about it. Here is a sample config, hope to help anyone encountered this: ...
Describe the bug For older browsers with IE 11 support generated file polyfills-legacy.[hash].js should not contain use strict directive, but it does. It is required by polyfill regenerator-runtime/runtime which contains a comment: This ...