Skip to content

Commit 8669908

Browse files
authored
test: remove swap-functions work-around (#292)
1 parent 27e547c commit 8669908

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

e2e/astro.config.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
1-
import { createRequire } from 'node:module';
2-
import { resolve } from 'node:path';
31
import tutorialkit from '@tutorialkit/astro';
42
import { defineConfig } from 'astro/config';
53

6-
const require = createRequire(import.meta.url);
7-
const astroDist = resolve(require.resolve('astro/package.json'), '..');
8-
const swapFunctionEntry = resolve(astroDist, 'dist/transitions/swap-functions.js');
9-
104
export default defineConfig({
115
devToolbar: { enabled: false },
126
server: { port: 4329 },
137
integrations: [tutorialkit()],
14-
15-
vite: {
16-
resolve: {
17-
alias: {
18-
// work-around for https://github.com/stackblitz/tutorialkit/pull/238
19-
'node_modules/astro/dist/transitions/swap-functions': swapFunctionEntry,
20-
},
21-
},
22-
},
238
});

0 commit comments

Comments
 (0)