mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-22 03:33:48 +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);
|