mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-23 04:03:47 +01:00
16 lines
318 B
JavaScript
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);
|