mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
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…
Reference in New Issue
Block a user