xmpp.chapril.org-conversejs/webpack/webpack.headless.dev.js
2022-01-27 13:08:40 +01:00

18 lines
476 B
JavaScript

/* global __dirname, module */
const common = require("./webpack.common.js");
const path = require('path');
const { merge } = require("webpack-merge");
module.exports = merge(common, {
mode: "development",
entry: "@converse/headless/headless.js",
output: {
path: path.resolve(__dirname, '../src/headless/dist'), // Output path for generated bundles
filename: 'converse-headless.js',
},
optimization: {
minimize: false,
},
});