mirror of
https://github.com/nasa/openmct.git
synced 2024-12-27 00:31:06 +00:00
23 lines
525 B
JavaScript
23 lines
525 B
JavaScript
/* global __dirname module */
|
|
|
|
/*
|
|
This configuration should be used for production installs.
|
|
It is the default webpack configuration.
|
|
*/
|
|
const path = require('path');
|
|
const webpack = require('webpack');
|
|
const { merge } = require('webpack-merge');
|
|
|
|
const common = require('./webpack.common');
|
|
const projectRootDir = path.resolve(__dirname, '..');
|
|
|
|
module.exports = merge(common, {
|
|
mode: 'development',
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
__OPENMCT_ROOT_RELATIVE__: '""'
|
|
})
|
|
],
|
|
devtool: 'source-map'
|
|
});
|