Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
gulp-sass-partials-imported
Advanced tools
It process scss partials files and add the files that import them to the pipe.
It process scss partials files and add the files that import them to the pipe.
Use it with gulp-cached and gulp-sass to create a watch task that avoid the re-compile of all the scss files in the project everytime you save one of them, saving a lot of time.
$ npm install --save-dev gulp-sass-partials-imported
In the example below we have a watch
task that, everytime we save a partial file, adds to the pipe files that import the partial file.
const gulp = require('gulp'),
const sass = require('gulp-sass');
const cached = require('gulp-cached');
const sassPartialsImported = require('gulp-sass-partials-imported');
let scss_dir = 'src/scss/';
gulp.task('sass', () => {
gulp.src('src/*.scss')
.pipe(cached('sassfiles'))
.pipe(sassPartialsImported(scss_dir))
.pipe(sass({ includePaths: scss_dir }).on('error', sass.logError))
.pipe(gulp.dest('dist'));
});
gulp.task('watch', function () {
gulp.watch('src/*.scss', ['sass'])
});
MIT © G100g(http://g100g.net)
FAQs
It process scss partials files and add the files that import them to the pipe.
The npm package gulp-sass-partials-imported receives a total of 266 weekly downloads. As such, gulp-sass-partials-imported popularity was classified as not popular.
We found that gulp-sass-partials-imported demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.