first
This commit is contained in:
commit
f4be03ceba
1826 changed files with 830924 additions and 0 deletions
12
frontend/node_modules/@sveltejs/vite-plugin-svelte/src/utils/svelte-version.js
generated
vendored
Normal file
12
frontend/node_modules/@sveltejs/vite-plugin-svelte/src/utils/svelte-version.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { VERSION } from 'svelte/compiler';
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
export const isSvelte5 = VERSION.startsWith('5.');
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
export const isSvelte5WithHMRSupport =
|
||||
VERSION.startsWith('5.0.0-next.') && Number(VERSION.slice(11)) > 96;
|
||||
Loading…
Add table
Add a link
Reference in a new issue