A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
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.
 
 
 
 
 

26 lines
401 B

  1. const path = require('path')
  2. module.exports = {
  3. entry: {
  4. entry: __dirname + '/prose.js'
  5. },
  6. output: {
  7. filename: 'prose.bundle.js',
  8. path: path.resolve('..', 'static', 'js'),
  9. },
  10. module: {
  11. rules: [
  12. {
  13. test: /\.js$/,
  14. exclude: /(nodue_modules|bower_components)/,
  15. use: {
  16. loader: 'babel-loader',
  17. options: {
  18. presets: ['@babel/preset-env']
  19. }
  20. }
  21. }
  22. ]
  23. }
  24. }