mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
19 lines
386 B
JavaScript
19 lines
386 B
JavaScript
/** @type {import('webpack').Configuration} */
|
|
|
|
const path = require('path');
|
|
const { merge } = require('webpack-merge');
|
|
const common = require('../../webpack.common');
|
|
|
|
const prodConfig = {
|
|
output: {
|
|
path: path.resolve(__dirname, 'dist'),
|
|
filename: 'web2d.js',
|
|
publicPath: '',
|
|
library: {
|
|
type: 'umd',
|
|
},
|
|
}
|
|
};
|
|
|
|
module.exports = merge(common, prodConfig);
|