@rpcbase/router 0.32.0 → 0.34.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/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -139,6 +139,12 @@ const useApplyMeta = () => {
|
|
|
139
139
|
defaultMeta = module.defaultMeta || defaultMeta;
|
|
140
140
|
pagesMeta = module.pagesMeta || pagesMeta;
|
|
141
141
|
} catch (error) {
|
|
142
|
+
if (globalThis.__rb_env__.MODE !== "production") {
|
|
143
|
+
console.warn(
|
|
144
|
+
"Failed to load meta data from '@/static/meta'.",
|
|
145
|
+
error
|
|
146
|
+
);
|
|
147
|
+
}
|
|
142
148
|
return;
|
|
143
149
|
}
|
|
144
150
|
let pageMeta = pagesMeta[location.pathname];
|