webpack.dev.js 405 B

123456789101112131415
  1. /* global module */
  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: [new MiniCssExtractPlugin({filename: 'converse.css'})]
  14. });