2022-09-30 15:17:02 +00:00
|
|
|
/*
|
|
|
|
This configuration should be used for production installs.
|
|
|
|
It is the default webpack configuration.
|
|
|
|
*/
|
2023-01-17 16:05:34 +00:00
|
|
|
|
2024-01-02 15:24:22 +00:00
|
|
|
import webpack from 'webpack';
|
|
|
|
import { merge } from 'webpack-merge';
|
|
|
|
|
|
|
|
import common from './webpack.common.js';
|
2021-12-30 00:18:48 +00:00
|
|
|
|
2024-01-02 15:24:22 +00:00
|
|
|
export default merge(common, {
|
2023-01-12 19:46:35 +00:00
|
|
|
mode: 'production',
|
2021-12-30 00:18:48 +00:00
|
|
|
plugins: [
|
|
|
|
new webpack.DefinePlugin({
|
|
|
|
__OPENMCT_ROOT_RELATIVE__: '""'
|
|
|
|
})
|
|
|
|
],
|
2023-01-12 19:46:35 +00:00
|
|
|
devtool: 'source-map'
|
2021-12-30 00:18:48 +00:00
|
|
|
});
|