mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-23 04:03:47 +01:00
13 lines
344 B
JavaScript
13 lines
344 B
JavaScript
const { merge } = require('webpack-merge');
|
|
const common = require('./webpack.common');
|
|
const pkg = require('./package.json');
|
|
|
|
/** @type {import('webpack').Configuration} */
|
|
const prodConfig = {
|
|
mode: 'production',
|
|
devtool: 'source-map',
|
|
externals: [...Object.keys(pkg.peerDependencies)],
|
|
};
|
|
|
|
module.exports = merge(common, prodConfig);
|