
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Your workflow will be easier
Use only what you need
Why?
Install gulp-query
and plugins
npm install gulp-query gulp-query-scss gulp-query-webpack gulp-query-compress
gulp-query-scss
— to compile SCSS
gulp-query-webpack
— for bundle with CSS, SCSS
Paste the code into your gulpfile.js
and configure it
let build = require('gulp-query')
, scss = require('gulp-query-scss')
, compress = require('gulp-query-compress')
, webpack = require('gulp-query-webpack');
build((query) => {
// query.plugins([scss, webpack, compress])
query.plugins(scss, webpack, compress)
.scss('src/scss/admin.scss','css/undercover.css')
.scss('src/scss/app.scss','css/','app')
.webpack('src/js/app.js','js/','app')
.compress('src/icons/*.png','images/')
;
});
And feel the freedom
gulp
gulp --production // For production (minification)
gulp watch // Watching change
gulp scss // Only for scss
gulp scss:app // Only for app.scss
gulp webpack:app watch // Watching change only for app.js nad app/**/*.js
gulp webpack --production // Production only for webpack
gulp webpack scss
gulp webpack:app compress
...
Your results in a clear table
Easy, right?
./src/scss/app.sass
to ./css/app.css
and ./src/scss/admin.sass
to ./css/undercover.css
./src/js/app.js
to ./js/app.js
./src/icons/*.png
to images/
And it's just several lines of code. In contrast to the original...
All plugins for gulp-query
FAQs
Your workflow will be easier
We found that gulp-query demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.