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

Commit

Permalink
feat: support @NativeScript scope in host resover
Browse files Browse the repository at this point in the history
  • Loading branch information
vakrilov committed Oct 15, 2019
1 parent 516885d commit efda509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { statSync } from "fs";

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

return function (path: string) {
Expand Down

0 comments on commit efda509

Please sign in to comment.