mirror of https://github.com/writeas/writefreely
A focused writing and publishing space.
https://write.with.parts
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.
25 lines
401 B
25 lines
401 B
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']
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|