mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-19 23:13:04 +08:00
Merge branch 'webpack5_refactor' of github.com:Akylas/NativeScript into webpack5_refactor
This commit is contained in:
@ -8,7 +8,12 @@ import { error } from './log';
|
|||||||
*/
|
*/
|
||||||
export function projectUsesCustomFlavor(): boolean {
|
export function projectUsesCustomFlavor(): boolean {
|
||||||
const dependencies = getAllDependencies();
|
const dependencies = getAllDependencies();
|
||||||
|
return [
|
||||||
|
'vue',
|
||||||
|
'angular',
|
||||||
|
'react',
|
||||||
|
'svelte'
|
||||||
|
].includes(determineProjectFlavor())
|
||||||
if (dependencies.includes('nativescript-vue') ||
|
if (dependencies.includes('nativescript-vue') ||
|
||||||
dependencies.includes('@nativescript/angular') ||
|
dependencies.includes('@nativescript/angular') ||
|
||||||
dependencies.includes('react-nativescript') ||
|
dependencies.includes('react-nativescript') ||
|
||||||
|
Reference in New Issue
Block a user