Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit efda509

Browse files
author
vakrilov
committed
feat: support @NativeScript scope in host resover
1 parent 516885d commit efda509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

host/resolver.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { statSync } from "fs";
33

44
export function getResolver(platforms: string[], explicitResolve?: string[], nsPackageFilters?: string[], platformSpecificExt?: string[]) {
55
explicitResolve = explicitResolve || [];
6-
nsPackageFilters = nsPackageFilters || ['nativescript', 'tns', 'ns'];
6+
nsPackageFilters = nsPackageFilters || ['nativescript', 'tns', 'ns', '@nativescript'];
77
platformSpecificExt = platformSpecificExt || [".ts", ".js", ".scss", ".less", ".css", ".html", ".xml", ".vue", ".json"];
88

99
return function (path: string) {

0 commit comments

Comments
 (0)