2020-03-10 23:11:32 +01:00
|
|
|
const path = require('path')
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
entry: {
|
|
|
|
entry: __dirname + '/prose.js'
|
|
|
|
},
|
|
|
|
output: {
|
|
|
|
filename: 'prose.bundle.js',
|
2020-09-09 16:47:01 +02:00
|
|
|
path: path.resolve('..', 'static', 'js'),
|
2020-03-10 23:11:32 +01:00
|
|
|
},
|
|
|
|
module: {
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
test: /\.js$/,
|
|
|
|
exclude: /(nodue_modules|bower_components)/,
|
|
|
|
use: {
|
|
|
|
loader: 'babel-loader',
|
|
|
|
options: {
|
|
|
|
presets: ['@babel/preset-env']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|