const { src, dest } = require('gulp')
const sass = require('gulp-sass')(require('sass'))
const SassAlias = require('sass-alias')
const sassOptions = {
importer: new SassAlias({
'@modules': 'src/modules',
'@utils': 'src/styles/utils'
}).getImporter()
}
module.exports = function styles () {
return src('./src/styles/styles.scss')
.pipe(sass(sassOptions))
.pipe(dest('./dist/css'))
}