mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
This commit is contained in:
parent
eca0414f74
commit
80c4f0b92f
@ -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",
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user