Skip to content

Commit

Permalink
feat: add more output targets for sass, less
Browse files Browse the repository at this point in the history
  • Loading branch information
feerglas committed Apr 6, 2020
1 parent 0e8224e commit 207ef94
Showing 1 changed file with 36 additions and 6 deletions.
42 changes: 36 additions & 6 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,35 @@
"scss": {
"transformGroup": "scss",
"buildPath": "dist/scss/",
"files": [
{
"destination": "_variables.scss",
"format": "scss/variables"
},
{
"destination": "_variables.map.flat.scss",
"format": "scss/map-flat"
},
{
"destination": "_variables.map.deep.scss",
"format": "scss/map-deep"
}
]
},
"less": {
"transformGroup": "less",
"buildPath": "dist/less/",
"files": [{
"destination": "_variables.less",
"format": "less/variables"
}]
},
"css": {
"transformGroup": "css",
"buildPath": "dist/css/",
"files": [{
"destination": "_variables.scss",
"format": "scss/variables"
"destination": "_variables.css",
"format": "css/variables"
}]
},
"js": {
Expand All @@ -25,17 +51,21 @@
"destination": "tokens.module.js",
"format": "javascript/module"
},
{
"destination": "tokens.umd.js",
"format": "javascript/umd"
},
{
"destination": "tokens.json",
"format": "json"
},
{
"destination": "tokens.nested.json",
"format": "json/nested"
},
{
"destination": "tokens.flat.json",
"format": "json/flat"
},
{
"destination": "tokens.umd.js",
"format": "javascript/umd"
}
]
},
Expand Down

0 comments on commit 207ef94

Please sign in to comment.