Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Commit

Permalink
fix(sass): include the platforms dir by default
Browse files Browse the repository at this point in the history
  • Loading branch information
danbucholtz committed Sep 13, 2017
1 parent 4911988 commit 0da47cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/preprocess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ export function preprocessUpdate(changedFiles: ChangedFile[], context: BuildCont

export function lookUpDefaultIonicComponentPaths(context: BuildContext) {
const componentsDirGlob = join(getStringPropertyValue(Constants.ENV_VAR_IONIC_ANGULAR_DIR), 'components', '**', '*.scss');
const platformDirGlob = join(getStringPropertyValue(Constants.ENV_VAR_IONIC_ANGULAR_DIR), 'platform', '**', '*.scss');
const srcDirGlob = join(getStringPropertyValue(Constants.ENV_VAR_SRC_DIR), '**', '*.scss');
return globAll([componentsDirGlob, srcDirGlob]).then((results: GlobResult[]) => {
return globAll([componentsDirGlob, platformDirGlob, srcDirGlob]).then((results: GlobResult[]) => {
const componentPathSet = new Set<string>();
results.forEach(result => {
componentPathSet.add(result.absolutePath);
Expand Down

0 comments on commit 0da47cb

Please sign in to comment.