grid/webpack.config.js
Michael Peters 6a41593013 sass support
2023-01-09 14:35:07 -08:00

18 lines
390 B
JavaScript

const path = require('path');
module.exports = {
entry: path.resolve(__dirname, 'src', 'index.js'),
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
},
module: {
rules: [
{
test: /\.s[ac]ss$/i,
use: ['style-loader', 'css-loader', 'sass-loader'],
},
],
},
};