1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00

F #3951: remove fireedge-server.conf in prod (#693)

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
This commit is contained in:
Jorge Miguel Lobo Escalona 2021-01-22 11:51:56 +01:00 committed by Tino Vazquez
parent eca0414f74
commit 80c4f0b92f
No known key found for this signature in database
GPG Key ID: 14201E424D02047E
2 changed files with 1 additions and 10 deletions

View File

@ -6,7 +6,7 @@
"scripts": {
"dev": "rimraf dist/ && cross-env NODE_ENV=development babel-node ./src/server/index.js",
"build-front": "rimraf dist/client && webpack --config ./webpack.config.prod.client.js",
"build-server": "rimraf dist/index.js && rimraf dist/fireedge-server.conf && webpack --config ./webpack.config.prod.server.js",
"build-server": "rimraf dist/index.js && webpack --config ./webpack.config.prod.server.js",
"build": "npm run build-front && npm run build-server",
"start": "cross-env NODE_ENV=production babel-node ./dist/index.js",
"cypress:open": "cypress open",

View File

@ -4,7 +4,6 @@ const nodeExternals = require('webpack-node-externals')
const CopyPlugin = require('copy-webpack-plugin')
const { defaultProductionWebpackMode } = require('./src/server/utils/constants/defaults')
const js = {
test: /\.js$/,
loader: 'babel-loader',
@ -31,14 +30,6 @@ module.exports = {
'process.env': {
NODE_ENV: JSON.stringify(defaultProductionWebpackMode)
}
}),
new CopyPlugin({
patterns: [
{
from: path.resolve(__dirname, 'fireedge-server.conf'),
to: path.resolve(__dirname, 'dist', 'fireedge-server.conf')
}
]
})
],
module: {