xmpp.chapril.org-conversejs/webpack.headless.js

17 lines
486 B
JavaScript
Raw Permalink Normal View History

/* global __dirname, module */
const common = require("./webpack.common.js");
const path = require('path');
2020-07-22 10:04:59 +02:00
const { merge } = require("webpack-merge");
module.exports = merge(common, {
entry: "@converse/headless/headless.js",
output: {
path: path.resolve(__dirname, 'src/headless/dist'), // Output path for generated bundles
filename: 'converse-headless.min.js',
chunkFilename: '[name].js'
},
mode: "production",
devtool: "source-map",
});