@sepveneto/plugin-mp-router-view 0.4.3 → 0.5.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/rollup.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as rollup from 'rollup';
2
2
  import { Options } from './types.js';
3
3
 
4
- declare const _default: (options?: Options | undefined) => rollup.Plugin | rollup.Plugin[];
4
+ declare const _default: (options?: Options | undefined) => rollup.Plugin<any> | rollup.Plugin<any>[];
5
5
 
6
6
  export { _default as default };
package/dist/rollup.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-SSACLDVN.js";
3
+ } from "./chunk-34IBKFGI.js";
4
+ import "./chunk-M3QQKYK3.js";
4
5
 
5
6
  // src/rollup.ts
6
7
  import { createRollupPlugin } from "unplugin";
package/dist/type.d.d.ts CHANGED
@@ -33,4 +33,4 @@ interface PageJSON {
33
33
  globalStyle: Record<string, string>
34
34
  }
35
35
 
36
- export { PageJSON };
36
+ export { Page, PageJSON };
package/dist/types.d.ts CHANGED
@@ -3,6 +3,10 @@ type Level = 'error' | 'log' | undefined | boolean;
3
3
  interface Options {
4
4
  log?: Level;
5
5
  collect?: string | boolean | ((path: string) => boolean);
6
+ /**
7
+ * 是否向每一个路由页面注入该路由的元数据
8
+ */
9
+ inject?: boolean;
6
10
  }
7
11
 
8
12
  export { Options };