mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 09:58:52 +00:00
21 lines
480 B
JavaScript
21 lines
480 B
JavaScript
|
const { merge } = require('webpack-merge');
|
||
|
const common = require('./webpack.common');
|
||
|
|
||
|
const path = require('path');
|
||
|
const webpack = require('webpack');
|
||
|
|
||
|
module.exports = merge(common, {
|
||
|
mode: 'production',
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
"vue": path.join(__dirname, "node_modules/vue/dist/vue.min.js")
|
||
|
}
|
||
|
},
|
||
|
plugins: [
|
||
|
new webpack.DefinePlugin({
|
||
|
__OPENMCT_ROOT_RELATIVE__: '""'
|
||
|
})
|
||
|
],
|
||
|
devtool: 'source-map'
|
||
|
});
|