2022-01-27 11:51:40 +01:00
|
|
|
/* 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: {
|
2022-01-27 12:07:52 +01:00
|
|
|
path: path.resolve(__dirname, '../src/headless/dist'), // Output path for generated bundles
|
2022-01-27 11:51:40 +01:00
|
|
|
filename: 'converse-headless.js',
|
|
|
|
},
|
|
|
|
optimization: {
|
|
|
|
minimize: false,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|