Add Tizen 5.5 Polyfills, implement dpad navigation with specified components

This commit is contained in:
Aleksi Lassila
2024-01-24 01:00:12 +02:00
parent fd1a87a2fe
commit 14eae0fa9b
16 changed files with 322 additions and 147 deletions

View File

@@ -5,7 +5,17 @@ import viteLegacyPlugin from '@vitejs/plugin-legacy';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [viteLegacyPlugin(), svelte(), viteSingleFile()],
plugins: [
viteLegacyPlugin({
// targets: ['chrome >= 64', 'edge >= 79', 'safari >= 11.1', 'firefox >= 67'],
// ignoreBrowserslistConfig: true,
renderLegacyChunks: true,
// modernPolyfills: ['es/global-this']
modernPolyfills: true
}),
svelte(),
viteSingleFile()
],
optimizeDeps: { exclude: ['svelte-navigator'] }
// base: '/dist',