We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7464f4 commit 9fb6a22Copy full SHA for 9fb6a22
packages/repl/src/lib/workers/npm.ts
@@ -32,12 +32,12 @@ export async function load_svelte(version: string) {
32
? 'compiler.js'
33
: version.startsWith('4.')
34
? 'compiler.cjs'
35
- : version.startsWith('1.0') || version.startsWith('1.1')
+ : version.startsWith('1.0') || version.startsWith('1.1.')
36
? 'dist/svelte.js'
37
: version.startsWith('2.')
38
? 'compiler/svelte.js'
39
: 'compiler/index.js';
40
-
+ console.log(pkg.contents);
41
const compiler = pkg.contents[entry].text;
42
43
(0, eval)(compiler + `\n//# sourceURL=${entry}@` + version);
0 commit comments