mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
20 lines
360 B
JavaScript
20 lines
360 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: 'core.js',
|
|
publicPath: '',
|
|
library: {
|
|
type: 'umd',
|
|
},
|
|
},
|
|
target: 'web',
|
|
|
|
|
|
};
|
|
|
|
module.exports = merge(common, prodConfig);
|