openmct/.webpack/webpack.prod.mjs

20 lines
397 B
JavaScript
Raw Normal View History

/*
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';
2021-12-30 00:18:48 +00:00
export default merge(common, {
mode: 'production',
plugins: [
new webpack.DefinePlugin({
__OPENMCT_ROOT_RELATIVE__: '""'
})
],
devtool: 'source-map'
2021-12-30 00:18:48 +00:00
});