Skip to content

Commit 8a6ba1d

Browse files
authored
fix: update paths for playgound
1 parent d6f0981 commit 8a6ba1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

playgrounds/basic/start.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from 'node:path';
33
import { fileURLToPath } from 'node:url';
44
import { watch } from 'rollup';
55
import serve from 'rollup-plugin-serve';
6-
import * as svelte from '../svelte/src/compiler/index.js';
6+
import * as svelte from '../../packages/svelte/src/compiler/index.js';
77

88
const __dirname = fileURLToPath(new URL('.', import.meta.url));
99

@@ -15,10 +15,10 @@ function create_plugin(ssr = false) {
1515
if (id === 'svelte') {
1616
return path.resolve(
1717
__dirname,
18-
ssr ? '../svelte/src/runtime/ssr.js' : '../svelte/src/runtime/index.js'
18+
ssr ? '../../packages/svelte/src/runtime/ssr.js' : '../../packages/svelte/src/runtime/index.js'
1919
);
2020
} else if (id.startsWith('svelte/')) {
21-
return path.resolve(__dirname, `../svelte/src/runtime/${id.slice(7)}/index.js`);
21+
return path.resolve(__dirname, `../../packages/svelte/src/runtime/${id.slice(7)}/index.js`);
2222
}
2323
},
2424
transform(code, id) {

0 commit comments

Comments
 (0)