wisemapping-frontend/packages/core-js/webpack.common.js
2023-02-10 02:51:52 +00:00

16 lines
318 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: 'index.ts',
library: {
type: 'umd',
},
}
};
module.exports = merge(common, prodConfig);