-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgulpfile.ts
More file actions
24 lines (21 loc) · 657 Bytes
/
gulpfile.ts
File metadata and controls
24 lines (21 loc) · 657 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* Copyright (c) MatteuSan and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const { src, dest, series } = require('gulp');
const sassBase = require('sass');
const sass = require('gulp-sass')(sassBase);
function sassTaskWebsite() {
return src('tests/build.test.scss', { sourcemaps: true })
.pipe(sass({
loadPath: ['node_modules'],
importers: [sassBase.NodePackageImporter()],
verbose: true,
}).on('error', sass.logError))
.pipe(dest('./tests', { sourcemaps: '.' }));
}
exports.default = series(
sassTaskWebsite,
);