wisemapping-frontend/packages/web2d/webpack.common.js
2023-01-30 04:10:57 +00:00

19 lines
387 B
JavaScript

/** @type {import('webpack').Configuration} */
const path = require('path');
const { merge } = require('webpack-merge');
const common = require('../../webpack.common');
const prodConfig = {
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'web2d.js',
publicPath: '',
library: {
type: 'umd',
},
},
};
module.exports = merge(common, prodConfig);