summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/slow-panthers-punch.md5
-rw-r--r--packages/create-astro/src/index.ts2
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/slow-panthers-punch.md b/.changeset/slow-panthers-punch.md
new file mode 100644
index 000000000..1bc0cd1bc
--- /dev/null
+++ b/.changeset/slow-panthers-punch.md
@@ -0,0 +1,5 @@
+---
+'create-astro': patch
+---
+
+Updates create-astro to use the latest branch
diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts
index aa2cf7c5a..21fa49de1 100644
--- a/packages/create-astro/src/index.ts
+++ b/packages/create-astro/src/index.ts
@@ -64,7 +64,7 @@ export async function main() {
const hash = args.commit ? `#${args.commit}` : '';
- const templateTarget = options.template.includes('/') ? options.template : `snowpackjs/astro/examples/${options.template}`;
+ const templateTarget = options.template.includes('/') ? options.template : `snowpackjs/astro#latest/examples/${options.template}`;
const emitter = degit(`${templateTarget}${hash}`, {
cache: false,