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

pull/2626/head
Divyansh Singh 1 year ago committed by GitHub
parent e02adfe3ea
commit 2c25855986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,7 +18,9 @@ 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
? 'vue/dist/vue.runtime.esm-browser.js'
: 'vue/dist/vue.runtime.esm-browser.prod.js'
export function resolveAliases(
{ root, themeDir }: SiteConfig,

Loading…
Cancel
Save