@rpcbase/router 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/router",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "scripts": {
@@ -11,7 +11,8 @@ export const useApplyMeta = () => {
11
11
  let pagesMeta = {}
12
12
 
13
13
  try {
14
- const module = await import("@/static/meta")
14
+ const importPath = "@/static/meta"
15
+ const module = await import(importPath)
15
16
  defaultTitle = module.defaultTitle || defaultTitle
16
17
  defaultMeta = module.defaultMeta || defaultMeta
17
18
  pagesMeta = module.pagesMeta || pagesMeta