const path = require('path');
module.exports = {
entry : './resource/js/index.js',
output: {
path: path.resolve(__dirname, './public/assets/js/'),
filename: 'app.js',
},
module: {
rules: [
{
test : /\.scss$/,
exclude: /node_modules/,
use: [
{
loader: "style-loader"
},
{
loader: "css-loader"
},
{
loader: "sass-loader"
}
]
}
]
},
}