webpack.dev.js 467 B

12345678910111213141516
  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. publicPath: '/dist/', // URL base path for all assets
  8. filename: 'converse.js',
  9. },
  10. optimization: {
  11. minimize: false,
  12. },
  13. devtool: 'source-map',
  14. plugins: [new MiniCssExtractPlugin({filename: 'converse.css'})]
  15. });