Initialize spyglass project and load vanilla-mcdoc

This commit is contained in:
Misode
2024-10-15 07:24:12 +02:00
parent ccdcf9e7e3
commit 60aab0c6b9
7 changed files with 943 additions and 78 deletions

View File

@@ -19,8 +19,14 @@ export default defineConfig({
{ find: 'react/jsx-runtime', replacement: 'preact/jsx-runtime' },
],
},
optimizeDeps: {
esbuildOptions: {
target: 'es2021',
},
},
build: {
sourcemap: true,
target: 'es2021',
rollupOptions: {
plugins: [
html({