weapp-vite 6.17.7 → 6.18.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/README.md CHANGED
@@ -110,6 +110,7 @@ function handleClick() {
110
110
  - 需要做小程序截图对比验收时,优先使用 `weapp-vite compare` / `wv compare`
111
111
  - 不要把小程序运行时截图退化成通用浏览器截图
112
112
  - 需要看 DevTools 终端日志时,优先使用 `weapp-vite ide logs --open` 或 `wv ide logs --open`
113
+ - 评估 Rust/native 加速时,优先减少 JS 与 Rust 的往返次数;同一份源码上的多个 AST 分析应尽量批量传入、一次 parse、一次返回结构化结果,并保留 Babel/Oxc/Vue compiler fallback
113
114
 
114
115
  推荐把下面这组意图映射写进项目根 `AGENTS.md`,让常见 AI 更稳定命中:
115
116
 
@@ -1,5 +1,4 @@
1
1
  import { n as AutoRoutesSubPackage, t as AutoRoutes } from "./routes-C7fCmf92.mjs";
2
-
3
2
  //#region src/auto-routes.d.ts
4
3
  declare const routes: AutoRoutes;
5
4
  declare const pages: string[];
@@ -1,4 +1,4 @@
1
- import { g as getRouteRuntimeGlobalKeys, n as getCompilerContext } from "./createContext-DooWF5Wk.mjs";
1
+ import { g as getRouteRuntimeGlobalKeys, n as getCompilerContext } from "./createContext-1JtIx3X1.mjs";
2
2
  //#region src/auto-routes.ts
3
3
  const ROUTE_RUNTIME_OVERRIDE_KEY = Symbol.for("weapp-vite.route-runtime");
4
4
  function createGetter(resolver) {