diff --git a/webapp/config/index.js b/webapp/config/index.js index 68c220533..ccc30da73 100644 --- a/webapp/config/index.js +++ b/webapp/config/index.js @@ -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 = { diff --git a/webapp/nuxt.config.js b/webapp/nuxt.config.js index d772eb339..912710ad8 100644 --- a/webapp/nuxt.config.js +++ b/webapp/nuxt.config.js @@ -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