webpack.dev.js 438 B

1234567891011121314151617
  1. /* global module, process */
  2. const merge = require("webpack-merge");
  3. const prod = require("./webpack.prod.js");
  4. const MiniCssExtractPlugin = require('mini-css-extract-plugin');
  5. module.exports = merge(prod, {
  6. output: {
  7. filename: 'converse.js',
  8. },
  9. optimization: {
  10. minimize: false,
  11. },
  12. devtool: 'source-map',
  13. plugins: [
  14. new MiniCssExtractPlugin({filename: '../dist/converse.css'}),
  15. ],
  16. });