Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/editor/src/lib/compile-worker/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let can_use_experimental_async = false;

async function init(v: string) {
const svelte_url = v === 'local' ? '/svelte' : `https://unpkg.com/svelte@${v}`;
const match = /^(?:pr|commit)-(.+)/.exec(v);
const match = /^(?:pr|commit|branch)-(.+)/.exec(v);

let tarball: FileDescription[] | undefined;
let version: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/repl/src/lib/workers/bundler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ let inited = Promise.withResolvers<typeof svelte>();
let can_use_experimental_async = false;

async function init(v: string, packages_url: string) {
const match = /^(pr|commit)-(.+)/.exec(v);
const match = /^(pr|commit|branch)-(.+)/.exec(v);

let tarball: FileDescription[] | undefined;

Expand Down
Loading