wisemapping-frontend/packages/core-js/webpack.common.js
2023-01-15 10:40:16 -08:00

20 lines
360 B
JavaScript

const path = require('path');
const { merge } = require('webpack-merge');
const common = require('../../webpack.common');
const prodConfig = {
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'core.js',
publicPath: '',
library: {
type: 'umd',
},
},
target: 'web',
};
module.exports = merge(common, prodConfig);