wundertile/web/webpack.config.js
2019-04-24 17:51:45 +02:00

19 lines
337 B
JavaScript

const path = require('path')
module.exports = {
entry: './index.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, '../app/static')
},
module: {
rules: [{
test: /\.css$/,
use: ['style-loader', 'css-loader']
}, {
test: /\.(png|jpg|gif)$/,
use: ['url-loader']
}]
}
}