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

Commit 0da47cb

Browse files
committed
fix(sass): include the platforms dir by default
1 parent 4911988 commit 0da47cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/preprocess.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ export function preprocessUpdate(changedFiles: ChangedFile[], context: BuildCont
4545

4646
export function lookUpDefaultIonicComponentPaths(context: BuildContext) {
4747
const componentsDirGlob = join(getStringPropertyValue(Constants.ENV_VAR_IONIC_ANGULAR_DIR), 'components', '**', '*.scss');
48+
const platformDirGlob = join(getStringPropertyValue(Constants.ENV_VAR_IONIC_ANGULAR_DIR), 'platform', '**', '*.scss');
4849
const srcDirGlob = join(getStringPropertyValue(Constants.ENV_VAR_SRC_DIR), '**', '*.scss');
49-
return globAll([componentsDirGlob, srcDirGlob]).then((results: GlobResult[]) => {
50+
return globAll([componentsDirGlob, platformDirGlob, srcDirGlob]).then((results: GlobResult[]) => {
5051
const componentPathSet = new Set<string>();
5152
results.forEach(result => {
5253
componentPathSet.add(result.absolutePath);

0 commit comments

Comments
 (0)