openmct/.webpack/webpack.prod.mjs
2024-10-08 16:03:51 -07:00

20 lines
402 B
JavaScript

/*
This configuration should be used for production installs.
It is the default webpack configuration.
*/
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import common from './webpack.common.mjs';
export default merge(common, {
mode: 'production',
plugins: [
new webpack.DefinePlugin({
__OPENMCT_ROOT_RELATIVE__: '""'
})
],
devtool: 'eval-source-map'
});