@meituan-nocode/vite-plugin-nocode-compiler 0.2.4-beta.14 → 0.2.4-beta.15

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.cjs CHANGED
@@ -47,7 +47,7 @@ function readJsonBody(req) {
47
47
  }
48
48
 
49
49
  // package.json
50
- var version = "0.2.4-beta.14";
50
+ var version = "0.2.4-beta.15";
51
51
 
52
52
  // src/index.ts
53
53
  var overrideMap = /* @__PURE__ */ new Map();
@@ -201,10 +201,10 @@ function componentCompiler(options = {}) {
201
201
  query
202
202
  });
203
203
  if (useJSXCompiler) {
204
- return jsxCompiler.compile(code, filePath) || code;
204
+ return jsxCompiler.compile(code, filePath, pkgRegistry) || code;
205
205
  }
206
206
  if (useVueCompiler) {
207
- return vueCompiler.compile(code, filePath) || code;
207
+ return vueCompiler.compile(code, filePath, pkgRegistry) || code;
208
208
  }
209
209
  return code;
210
210
  }
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ function readJsonBody(req) {
22
22
  }
23
23
 
24
24
  // package.json
25
- var version = "0.2.4-beta.14";
25
+ var version = "0.2.4-beta.15";
26
26
 
27
27
  // src/index.ts
28
28
  var overrideMap = /* @__PURE__ */ new Map();
@@ -176,10 +176,10 @@ function componentCompiler(options = {}) {
176
176
  query
177
177
  });
178
178
  if (useJSXCompiler) {
179
- return jsxCompiler.compile(code, filePath) || code;
179
+ return jsxCompiler.compile(code, filePath, pkgRegistry) || code;
180
180
  }
181
181
  if (useVueCompiler) {
182
- return vueCompiler.compile(code, filePath) || code;
182
+ return vueCompiler.compile(code, filePath, pkgRegistry) || code;
183
183
  }
184
184
  return code;
185
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meituan-nocode/vite-plugin-nocode-compiler",
3
- "version": "0.2.4-beta.14",
3
+ "version": "0.2.4-beta.15",
4
4
  "description": "Vite plugin for nocode compiler",
5
5
  "type": "module",
6
6
  "exports": {