@danielx/civet 0.6.75 → 0.6.76

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 (5) hide show
  1. package/dist/browser.js +3528 -3366
  2. package/dist/civet +4 -2
  3. package/dist/main.js +3528 -3366
  4. package/dist/main.mjs +3578 -3416
  5. package/package.json +1 -1
package/dist/civet CHANGED
@@ -340,11 +340,13 @@ async function cli() {
340
340
  }
341
341
  }
342
342
  if (options.typecheck || options.emitDeclaration) {
343
- unplugin = (0, import_unplugin.rawPlugin)({
343
+ const unpluginOptions = {
344
344
  ...options,
345
345
  ts: options.js ? "civet" : "preserve",
346
346
  outputExtension: ".tsx"
347
- }, { framework: "civet-cli" });
347
+ };
348
+ (unpluginOptions.parseOptions ??= {}).rewriteCivetImports = ".civet.tsx";
349
+ unplugin = (0, import_unplugin.rawPlugin)(unpluginOptions, { framework: "civet-cli" });
348
350
  unplugin.buildStart();
349
351
  }
350
352
  if (options.run) {