mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Update packages/webpack5/src/helpers/flavor.ts
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
This commit is contained in:
@@ -8,7 +8,12 @@ import { error } from './log';
|
||||
*/
|
||||
export function projectUsesCustomFlavor(): boolean {
|
||||
const dependencies = getAllDependencies();
|
||||
|
||||
return [
|
||||
'vue',
|
||||
'angular',
|
||||
'react',
|
||||
'svelte'
|
||||
].includes(determineProjectFlavor())
|
||||
if (dependencies.includes('nativescript-vue') ||
|
||||
dependencies.includes('@nativescript/angular') ||
|
||||
dependencies.includes('react-nativescript') ||
|
||||
|
||||
Reference in New Issue
Block a user