A small css-compiler plugin that works with scss
files. It is essentially a wrapper over
node-sass version 3.4
npm i --save thorin-plugin-sass@1.x
'use strict'; // app.js entry file const thorin = require('thorin'); thorin.addPlugin(require('thorin-plugin-sass')); // <- add this line thorin.run((err) => {});
input
and output
files to work with. The path of both the input
and the output files are relative to thorin.root
'use strict';
module.exports = {
'plugin.sass': {
watch: false,
files: [{
input: 'app/styles/main.scss',
output: 'public/css/main.css'
}, {
input: 'app/styles/admin.scss',
output: 'public/css/admin.css'
}]
}
};
input, output
keys
You can always create a new issue on GitHub or contact one of the core founders by chat.