Gulp.js
- 21 ответ
- 0 вопросов
15
Вклад в тег
"editor.semanticTokenColorCustomizations": {
"enabled": false
},
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "variable",
"scope": ["variable.other.readwrite"],
"settings": {
"foreground": "#cc12bc"
}
}
]
}
{
"key": "f4",
"command": "editor.action.inspectTMScopes"
}
npm uninstall gulp-imagemin --save-dev
npm install gulp-imagemin@7.1.0 --save-dev
const imagemin = require('gulp-imagemin');
function img() {
return gulp.src(paths.images.src, {
encoding: false
})
.pipe(imagemin())
.pipe(gulp.dest(paths.images.dest));
}