wisemapping-frontend/packages/core-js/webpack.common.js

16 lines
318 B
JavaScript
Raw Permalink Normal View History

2021-10-03 04:52:56 +02:00
const path = require('path');
const { merge } = require('webpack-merge');
const common = require('../../webpack.common');
const prodConfig = {
2022-07-13 03:58:11 +02:00
output: {
path: path.resolve(__dirname, 'dist'),
2023-02-10 03:51:52 +01:00
filename: 'index.ts',
2022-07-13 03:58:11 +02:00
library: {
type: 'umd',
2021-07-16 16:41:58 +02:00
},
2023-02-10 03:51:52 +01:00
}
2021-07-16 16:41:58 +02:00
};
module.exports = merge(common, prodConfig);