mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 10:29:23 +02:00
Setup gulpfile directories and exports
This commit is contained in:
parent
a3110dcfca
commit
78d1365e53
1 changed files with 35 additions and 0 deletions
35
src/gulpfile.js
Normal file
35
src/gulpfile.js
Normal file
|
@ -0,0 +1,35 @@
|
|||
/* gulpfile.js */
|
||||
|
||||
const uswds = require('@uswds/compile');
|
||||
|
||||
/**
|
||||
* USWDS version
|
||||
* Set the version of USWDS you're using (2 or 3)
|
||||
*/
|
||||
|
||||
uswds.settings.version = 3;
|
||||
|
||||
/**
|
||||
* Path settings
|
||||
* Set as many as you need
|
||||
*/
|
||||
|
||||
const ASSETS_DIR = './registrar/assets/';
|
||||
|
||||
uswds.paths.dist.css = ASSETS_DIR + 'css';
|
||||
uswds.paths.dist.sass = ASSETS_DIR + 'sass';
|
||||
uswds.paths.dist.theme = ASSETS_DIR + 'sass/_theme';
|
||||
uswds.paths.dist.fonts = ASSETS_DIR + 'fonts';
|
||||
uswds.paths.dist.js = ASSETS_DIR + 'js';
|
||||
uswds.paths.dist.img = ASSETS_DIR + 'img';
|
||||
|
||||
/**
|
||||
* Exports
|
||||
* Add as many as you need
|
||||
*/
|
||||
|
||||
exports.init = uswds.init;
|
||||
exports.compile = uswds.compile;
|
||||
exports.watch = uswds.watch;
|
||||
exports.copyAssets = uswds.copyAssets
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue