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