mirror of
https://github.com/writefreely/writefreely
synced 2024-11-24 17:43:05 +00:00
25 lines
401 B
JavaScript
25 lines
401 B
JavaScript
const path = require('path')
|
|
|
|
module.exports = {
|
|
entry: {
|
|
entry: __dirname + '/prose.js'
|
|
},
|
|
output: {
|
|
filename: 'prose.bundle.js',
|
|
path: path.resolve('..', 'static', 'js'),
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /(nodue_modules|bower_components)/,
|
|
use: {
|
|
loader: 'babel-loader',
|
|
options: {
|
|
presets: ['@babel/preset-env']
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|