mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-24 23:37:57 +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);
|