Skip to content

Commit 4821105

Browse files
committed
build: do not build test sass files in legacy output
Looks like the exclude glob does not work as expected. Hence the new theming bundle test fails as there is no theming bundle when the legacy gulp tasks process Sass files.
1 parent 3950d0f commit 4821105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/package-tools/gulp/build-scss-pipeline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ gulpSass.compiler = nodeSass;
1515

1616
/** Create a gulp task that builds SCSS files. */
1717
export function buildScssPipeline(sourceDir: string) {
18-
return src(join(sourceDir, '**/!(test-).scss'))
18+
return src(join(sourceDir, '**/!(test-*).scss'))
1919
.pipe(gulpSass({includePaths: sassIncludePaths}).on('error', gulpSass.logError));
2020
}

0 commit comments

Comments
 (0)