diff --git a/package.json b/package.json index caec8ef..89d599c 100644 --- a/package.json +++ b/package.json @@ -5,11 +5,13 @@ "@frctl/fractal": "^1.2.1", "fractal": "0.0.3", "node-sass": "^4.14.1", - "sass": "^1.26.10" + "sass": "^1.26.10", + "scss-bundle": "^3.1.2" }, "scripts": { "sass": "node-sass -w components/rcss.scss -o public/ --recursive", "styleguide": "fractal start --sync", - "suite": "npm run sass & npm run styleguide" + "suite": "npm run sass & npm run styleguide", + "bundle": "scss-bundel" } } diff --git a/scss-bundle.config.json b/scss-bundle.config.json new file mode 100644 index 0000000..b664c9d --- /dev/null +++ b/scss-bundle.config.json @@ -0,0 +1,8 @@ +{ + "bundlerOptions": { + "entryFile": "./components/rcss.scss", + "rootDir": ".", + "outFile": "./dist/rcss.bundled.scss", + "logLevel": "silent" + } +} \ No newline at end of file