mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
- fixed config import
- default for STYLEGUIDE_DEV config
This commit is contained in:
parent
9f549371f7
commit
a6bd42856a
@ -11,8 +11,8 @@ const environment = {
|
||||
DEBUG: process.env.NODE_ENV !== 'production' || false,
|
||||
PRODUCTION: process.env.NODE_ENV === 'production' || false,
|
||||
NUXT_BUILD: process.env.NUXT_BUILD || '.nuxt',
|
||||
STYLEGUIDE_DEV: process.env.STYLEGUIDE_DEV || false,
|
||||
RELEASE: process.env.release,
|
||||
STYLEGUIDE_DEV: process.env.STYLEGUIDE_DEV,
|
||||
}
|
||||
|
||||
const server = {
|
||||
|
||||
@ -2,7 +2,7 @@ import path from 'path'
|
||||
import manifest from './constants/manifest.js'
|
||||
import metadata from './constants/metadata.js'
|
||||
|
||||
const CONFIG = require('./config') // we need to use require since this is only evaluated at compile time.
|
||||
const CONFIG = require('./config').default // we need to use require since this is only evaluated at compile time.
|
||||
|
||||
const styleguidePath = '../styleguide'
|
||||
const styleguideStyles = CONFIG.STYLEGUIDE_DEV
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user