Skip to content

Commit

Permalink
feat(polyfills): idea ; use polyfill above 66 because without legacy …
Browse files Browse the repository at this point in the history
…it fails < 60
  • Loading branch information
Martin committed Jun 30, 2022
1 parent 6661039 commit ad7bba9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (shouldBuildLegacy()) {
'defaults',
'Chrome >= 50',
'Edge >= 14',
'Firefox >= 50',
'Firefox >= 66', // import not supported between [60,66]
'Opera >= 40',
'Safari >= 8',
'iOS >= 8',
Expand All @@ -44,8 +44,7 @@ if (shouldBuildLegacy()) {
export default defineConfig({
resolve: { alias: { '@utils': '/shared/utils.ts' } },
build: {
sourcemap: true,
polyfillDynamicImport: true
sourcemap: true
},
plugins
});
Expand Down

0 comments on commit ad7bba9

Please sign in to comment.