gulp-style-aliases
Gulp plugin that lets you create custom aliases for CSS,less and SASS properties with an @alias
rule.
Supports @import '...' and url('...').
Install
$ npm install --save-dev gulp-style-aliases
Usage
const gulp = ;const aliases = ; var webPath = '.' outputPath = 'dest'; gulp;
A javascript file before compilation
"@aliasName/css/user.less"; body background: #9e9e9e;
will become:
"path/to/your/folder/css/user.less"; body background: #9e9e9e;