@wevu/compiler 6.11.9 → 6.12.1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -386,7 +386,7 @@ function getWevuConfigCacheRoot() {
386
386
  if (env) return path.resolve(env);
387
387
  const cwd = process.cwd();
388
388
  const projectCacheDir = path.join(cwd, ".wevu-config");
389
- if (fs$1.existsSync(cwd)) return projectCacheDir;
389
+ if (fs$1.existsSync(projectCacheDir)) return projectCacheDir;
390
390
  return path.join(os.tmpdir(), "weapp-vite", "wevu-config");
391
391
  }
392
392
  function resolveWevuConfigTempDir(fromDir) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wevu/compiler",
3
3
  "type": "module",
4
- "version": "6.11.9",
4
+ "version": "6.12.1",
5
5
  "description": "wevu 编译器基础包,面向小程序模板的编译与转换",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -50,8 +50,8 @@
50
50
  "pathe": "^2.0.3",
51
51
  "vue": "^3.5.31",
52
52
  "@weapp-core/shared": "3.0.2",
53
- "@weapp-vite/ast": "6.11.9",
54
- "rolldown-require": "2.0.11"
53
+ "@weapp-vite/ast": "6.12.1",
54
+ "rolldown-require": "2.0.12"
55
55
  },
56
56
  "publishConfig": {
57
57
  "access": "public",