forked from 18F/18f.gsa.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgulpfile.js
36 lines (32 loc) · 833 Bytes
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* gulpfile.js */
/**
* Import uswds-compile
*/
const uswds = require("@uswds/compile");
/**
* USWDS version
* Set the major version of USWDS you're using
* (Current options are the numbers 2 or 3)
*/
uswds.settings.version = 3;
/**
* Path settings
* Set as many as you need
*/
uswds.paths.src.projectSass = "./_sass";
uswds.paths.dist.img = "./assets/uswds/img";
uswds.paths.dist.fonts = "./assets/uswds/fonts";
uswds.paths.dist.js = "./assets/uswds/js";
uswds.paths.dist.css = "./assets/css";
uswds.paths.dist.theme = "./_sass/";
/**
* Exports
* Add as many as you need
*/
exports.compile = uswds.compile;
exports.compileIcons = uswds.compileIcons;
exports.compileSass = uswds.compileSass;
exports.copyAssets = uswds.copyAssets;
exports.copyImages = uswds.copyImages;
exports.watch = uswds.watch;
exports.default = this.watch;