Skip to content

Commit 9fb6a22

Browse files
committed
more logging
1 parent d7464f4 commit 9fb6a22

File tree

1 file changed

+2
-2
lines changed
  • packages/repl/src/lib/workers

1 file changed

+2
-2
lines changed

packages/repl/src/lib/workers/npm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ export async function load_svelte(version: string) {
3232
? 'compiler.js'
3333
: version.startsWith('4.')
3434
? 'compiler.cjs'
35-
: version.startsWith('1.0') || version.startsWith('1.1')
35+
: version.startsWith('1.0') || version.startsWith('1.1.')
3636
? 'dist/svelte.js'
3737
: version.startsWith('2.')
3838
? 'compiler/svelte.js'
3939
: 'compiler/index.js';
40-
40+
console.log(pkg.contents);
4141
const compiler = pkg.contents[entry].text;
4242

4343
(0, eval)(compiler + `\n//# sourceURL=${entry}@` + version);

0 commit comments

Comments
 (0)