Weather dashboard https://natronics.org/weather/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
697 B

const path = require('path');
module.exports = [{
name: 'js',
entry: ['./src/index.js'],
output: {
filename: 'main.js',
path: path.resolve(__dirname, 'dist')
}
},
{
name: 'css',
entry: ['./src/style.sass'],
module: {
rules: [
{
test: /\.sass$/,
use: [
{
loader: 'file-loader',
options: {
name: 'style.css',
}
},
{
loader: 'extract-loader'
},
{
loader: 'css-loader?-url'
},
{
loader: 'sass-loader'
}
]
}
]
}
}];