const path = require("path");
let sassRule= {
test: /.sass|scss$/i,
use: ["style-loader", "css-loader", "sass-loader"],
}
module.exports = {
entry: path.resolve(__dirname, "/src/index.js") // import sass file on javascript file
module: {rules: sassRule}
}