1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

Revert "F #3951: Fix dev mode (#900)"

This reverts commit 6ee505c8d6.
This commit is contained in:
Tino Vazquez 2021-03-02 18:31:15 +01:00
parent 6ee505c8d6
commit 65977f4b00
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -54,14 +54,12 @@ const basename = defaultAppName ? `/${defaultAppName}` : ''
let frontPath = 'client'
const isDevelopment = () => process.env.NODE_ENV === 'development'
// settings
const appConfig = getConfig()
const port = appConfig.port || defaultPort
const userLog = appConfig.log || 'dev'
if (isDevelopment()) {
if (env && env.NODE_ENV && env.NODE_ENV === defaultWebpackMode) {
try {
const webpackConfig = require('../../webpack.config.dev.client')
const compiler = webpack(webpackConfig)