mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-06 08:29:14 +08:00
20 lines
465 B
Text
20 lines
465 B
Text
const VITE_RESOLVE_MAIN_FIELDS = ['module', 'jsnext:main', 'jsnext'];
|
|
|
|
export const SVELTE_RESOLVE_MAIN_FIELDS = ['svelte', ...VITE_RESOLVE_MAIN_FIELDS];
|
|
|
|
export const SVELTE_IMPORTS = [
|
|
'svelte/animate',
|
|
'svelte/easing',
|
|
'svelte/internal',
|
|
'svelte/motion',
|
|
'svelte/ssr',
|
|
'svelte/store',
|
|
'svelte/transition',
|
|
'svelte'
|
|
];
|
|
|
|
export const SVELTE_HMR_IMPORTS = [
|
|
'svelte-hmr/runtime/hot-api-esm.js',
|
|
'svelte-hmr/runtime/proxy-adapter-dom.js',
|
|
'svelte-hmr'
|
|
];
|