revert(#2622): to fix hmr

pull/2663/head
Divyansh Singh 1 year ago
parent 5cdb9c8fa3
commit ec6bfbd5a3

@ -3,7 +3,7 @@
"version": "1.0.0-beta.5",
"description": "Vite & Vue powered static site generator",
"type": "module",
"packageManager": "pnpm@8.6.7",
"packageManager": "pnpm@8.6.9",
"main": "dist/node/index.js",
"types": "types/index.d.ts",
"exports": {
@ -113,7 +113,7 @@
"@mdit-vue/plugin-toc": "^0.12.0",
"@mdit-vue/shared": "^0.12.0",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-commonjs": "^25.0.2",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
@ -138,7 +138,7 @@
"conventional-changelog-cli": "^2",
"cross-spawn": "^7.0.3",
"debug": "^4.3.4",
"esbuild": "^0.18.12",
"esbuild": "^0.18.14",
"escape-html": "^1.0.3",
"execa": "^7.1.1",
"fast-glob": "^3.3.0",
@ -161,13 +161,13 @@
"path-to-regexp": "^6.2.1",
"picocolors": "^1.0.0",
"pkg-dir": "^7.0.0",
"playwright-chromium": "^1.36.0",
"playwright-chromium": "^1.36.1",
"polka": "1.0.0-next.22",
"prettier": "^3.0.0",
"prompts": "^2.4.2",
"punycode": "^2.3.0",
"rimraf": "^5.0.1",
"rollup": "^3.26.2",
"rollup": "^3.26.3",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-esbuild": "^5.0.0",
"semver": "^7.5.4",

File diff suppressed because it is too large Load Diff

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

Loading…
Cancel
Save