Using SCSS bundler
This commit is contained in:
parent
07243d5974
commit
22ba839453
@ -5,11 +5,13 @@
|
|||||||
"@frctl/fractal": "^1.2.1",
|
"@frctl/fractal": "^1.2.1",
|
||||||
"fractal": "0.0.3",
|
"fractal": "0.0.3",
|
||||||
"node-sass": "^4.14.1",
|
"node-sass": "^4.14.1",
|
||||||
"sass": "^1.26.10"
|
"sass": "^1.26.10",
|
||||||
|
"scss-bundle": "^3.1.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"sass": "node-sass -w components/rcss.scss -o public/ --recursive",
|
"sass": "node-sass -w components/rcss.scss -o public/ --recursive",
|
||||||
"styleguide": "fractal start --sync",
|
"styleguide": "fractal start --sync",
|
||||||
"suite": "npm run sass & npm run styleguide"
|
"suite": "npm run sass & npm run styleguide",
|
||||||
|
"bundle": "scss-bundel"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
8
scss-bundle.config.json
Normal file
8
scss-bundle.config.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"bundlerOptions": {
|
||||||
|
"entryFile": "./components/rcss.scss",
|
||||||
|
"rootDir": ".",
|
||||||
|
"outFile": "./dist/rcss.bundled.scss",
|
||||||
|
"logLevel": "silent"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user