@wevu/compiler 6.16.35 → 6.16.40

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 +6 -3
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -582,7 +582,8 @@ const __weapp_defineThemeJson = (config) => (__weapp_json_macro_values.push(conf
582
582
  try {
583
583
  const { mod, dependencies } = await bundleRequire({
584
584
  filepath: tempFile,
585
- cwd: dir
585
+ cwd: dir,
586
+ tsconfig: false
586
587
  });
587
588
  const resolved = mod?.default ?? mod;
588
589
  const values = Array.isArray(resolved) ? resolved : [resolved];
@@ -8384,7 +8385,8 @@ async function evaluateJsLikeConfig(source, filename, lang) {
8384
8385
  try {
8385
8386
  const { mod } = await bundleRequire({
8386
8387
  filepath: tempFile,
8387
- cwd: dir
8388
+ cwd: dir,
8389
+ tsconfig: false
8388
8390
  });
8389
8391
  let resolved = mod?.default ?? mod;
8390
8392
  if (typeof resolved === "function") resolved = resolved();
@@ -8748,7 +8750,8 @@ export const __weapp_define_options = __weapp_define_options_values
8748
8750
  try {
8749
8751
  const { mod, dependencies } = await bundleRequire({
8750
8752
  filepath: tempFile,
8751
- cwd: dir
8753
+ cwd: dir,
8754
+ tsconfig: false
8752
8755
  });
8753
8756
  const exported = mod?.__weapp_define_options ?? mod;
8754
8757
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wevu/compiler",
3
3
  "type": "module",
4
- "version": "6.16.35",
4
+ "version": "6.16.40",
5
5
  "description": "wevu 编译器基础包,面向小程序模板的编译与转换",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -52,7 +52,7 @@
52
52
  "vue": "^3.5.35",
53
53
  "@weapp-core/constants": "0.1.12",
54
54
  "@weapp-core/shared": "3.0.4",
55
- "@weapp-vite/ast": "6.16.35",
55
+ "@weapp-vite/ast": "6.16.40",
56
56
  "rolldown-require": "2.0.18"
57
57
  },
58
58
  "publishConfig": {