To install with node:
npm install sass-fire
To install with yarn:
yarn add sass-fire
// webpack.config.js
const sassFire = require("sass-fire");
module.exports = {
...
module: {
rules: [{
test: /.scss$/,
use: [{
loader: "style-loader"
}, {
loader: "css-loader"
}, {
loader: "sass-loader",
options: {
includePaths: sassFire
}
}]
}]
}
};Then @import the package where you require it in your sass files.
@import 'sass-fire';
Please review the API documentation.
Last built with ❤️ and 🔥 on: 31/03/2021