We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
kiaking
brc-dd
posva
Learn more about funding links in repositories.
Report abuse
1 parent 7f0c18e commit a56d608Copy full SHA for a56d608
src/node/alias.ts
@@ -18,15 +18,12 @@ export const DEFAULT_THEME_PATH = join(DIST_CLIENT_PATH, 'theme-default')
18
export const SITE_DATA_ID = '@siteData'
19
export const SITE_DATA_REQUEST_PATH = '/' + SITE_DATA_ID
20
21
+const vueRuntimePath = 'vue/dist/vue.runtime.esm-bundler.js'
22
+
23
export function resolveAliases(
24
{ root, themeDir }: SiteConfig,
25
ssr: boolean
26
): AliasOptions {
- const vueRuntimePath =
- process.env.DEBUG || process.env.NODE_ENV !== 'production'
27
- ? 'vue/dist/vue.runtime.esm-browser.js'
28
- : 'vue/dist/vue.runtime.esm-browser.prod.js'
29
-
30
const paths: Record<string, string> = {
31
'@theme': themeDir,
32
[SITE_DATA_ID]: SITE_DATA_REQUEST_PATH
0 commit comments