"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/package-tools/gulp/build-scss-pipeline.ts" between
material2-7.3.2.tar.gz and material2-7.3.3.tar.gz

About: material2 offers Material Design components for Angular.

build-scss-pipeline.ts  (material2-7.3.2):build-scss-pipeline.ts  (material2-7.3.3)
skipping to change at line 20 skipping to change at line 20
const sassIncludePaths = [ const sassIncludePaths = [
join(buildConfig.projectDir, 'node_modules/') join(buildConfig.projectDir, 'node_modules/')
]; ];
// Set the compiler to our version of `node-sass`, rather than the one that `gul p-sass` depends on. // Set the compiler to our version of `node-sass`, rather than the one that `gul p-sass` depends on.
gulpSass.compiler = nodeSass; gulpSass.compiler = nodeSass;
/** Create a gulp task that builds SCSS files. */ /** Create a gulp task that builds SCSS files. */
export function buildScssPipeline(sourceDir: string, minifyOutput = false) { export function buildScssPipeline(sourceDir: string, minifyOutput = false) {
return src(join(sourceDir, '**/*.scss')) return src(join(sourceDir, '**/!(test-).scss'))
.pipe(gulpSass({includePaths: sassIncludePaths}).on('error', gulpSass.logErr or)) .pipe(gulpSass({includePaths: sassIncludePaths}).on('error', gulpSass.logErr or))
.pipe(gulpIf(minifyOutput, gulpCleanCss())); .pipe(gulpIf(minifyOutput, gulpCleanCss()));
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)