mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-06 17:28:29 +08:00
feat(webpack): support @nativescript-community/svelte-native
This commit is contained in:
@ -21,7 +21,10 @@ export function determineProjectFlavor(): keyof typeof defaultConfigs | false {
|
||||
return 'react';
|
||||
}
|
||||
|
||||
if (dependencies.includes('svelte-native')) {
|
||||
if (
|
||||
dependencies.includes('svelte-native') ||
|
||||
dependencies.includes('@nativescript-community/svelte-native')
|
||||
) {
|
||||
return 'svelte';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user