mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
This reverts commit 6ee505c8d6c1d6fe28042e3479554a0d83e90618.
This commit is contained in:
parent
6ee505c8d6
commit
65977f4b00
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user