-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathicon-config.js
More file actions
39 lines (28 loc) · 1.1 KB
/
Copy pathicon-config.js
File metadata and controls
39 lines (28 loc) · 1.1 KB
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
37
38
39
var path = require( 'path' );
module.exports = {
// CSS filenames
datasvgcss: '../../scss/icons/icons.data.svg.css',
datapngcss: '../../scss/icons/icons.data.png.css',
urlpngcss: '../../scss/icons/icons.fallback.css',
// preview HTML filename
previewhtml: 'preview.html',
// grunticon loader code snippet filename
loadersnippet: '../../vendor/grunticon/grunticon.loader.min.js',
// Include loader code for SVG markup embedding
enhanceSVG: false,
// Make markup embedding work across domains (if CSS hosted externally)
corsEmbed: false,
// folder name (within dest) for png output
pngfolder: 'png',
// prefix for CSS classnames
cssprefix: '.icon--',
dynamicColorOnly: true,
// css file path prefix
// this defaults to '/' and will be placed before the 'dest' path
// when stylesheets are loaded. It allows root-relative referencing
// of the CSS. If you don't want a prefix path, set to to ''
cssbasepath: '',
// template: path.join( __dirname, 'default-css.hbs' ),
// previewTemplate: path.join( __dirname, 'templates/preview-custom.hbs' ),
compressPNG: true
};