fix(build): use vue dev build when DEBUG is truthy

pull/2622/head
Divyansh Singh 3 years ago
parent e02adfe3ea
commit 1326831405

@ -18,7 +18,10 @@ export const DEFAULT_THEME_PATH = join(DIST_CLIENT_PATH, 'theme-default')
export const SITE_DATA_ID = '@siteData'
export const SITE_DATA_REQUEST_PATH = '/' + SITE_DATA_ID
const vueRuntimePath = 'vue/dist/vue.runtime.esm-bundler.js'
const vueRuntimePath =
process.env.DEBUG || process.env.NODE_ENV !== 'production'
? 'vue/dist/vue.esm-browser.js'
: 'vue/dist/vue.esm-browser.prod.js'
export function resolveAliases(
{ root, themeDir }: SiteConfig,

Loading…
Cancel
Save