@qwikdev/astro
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -28,7 +28,12 @@ import { qwikVite } from "@builder.io/qwik/optimizer"; | ||
else { | ||
logger.info("@qwikdev/astro: No entrypoints found. Skipping build."); | ||
logger.info("No entrypoints found. Skipping build."); | ||
} | ||
}, | ||
"astro:build:done": async () => { | ||
await moveArtifacts(tempDir, join(distDir, astroConfig?.output === "server" ? "client" : ".")); | ||
"astro:build:done": async ({ logger }) => { | ||
if ((await entrypoints).length > 0) { | ||
await moveArtifacts(tempDir, join(distDir, astroConfig?.output === "server" ? "client" : ".")); | ||
} | ||
else { | ||
logger.info("Build finished. No artifacts moved."); | ||
} | ||
}, | ||
@@ -35,0 +40,0 @@ "astro:config:setup": async ({ addRenderer, updateConfig, injectScript, }) => { |
@@ -28,7 +28,12 @@ import { qwikVite } from "@builder.io/qwik/optimizer"; | ||
else { | ||
logger.info("@qwikdev/astro: No entrypoints found. Skipping build."); | ||
logger.info("No entrypoints found. Skipping build."); | ||
} | ||
}, | ||
"astro:build:done": async () => { | ||
await moveArtifacts(tempDir, join(distDir, astroConfig?.output === "server" ? "client" : ".")); | ||
"astro:build:done": async ({ logger }) => { | ||
if ((await entrypoints).length > 0) { | ||
await moveArtifacts(tempDir, join(distDir, astroConfig?.output === "server" ? "client" : ".")); | ||
} | ||
else { | ||
logger.info("Build finished. No artifacts moved."); | ||
} | ||
}, | ||
@@ -35,0 +40,0 @@ "astro:config:setup": async ({ addRenderer, updateConfig, injectScript, }) => { |
{ | ||
"name": "@qwikdev/astro", | ||
"description": "Use Qwik components and Resumability within Astro", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"contributors": [ | ||
@@ -6,0 +6,0 @@ { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14041
282