| 1 | import { resolve } from 'path'; |
| 2 | import { defineConfig } from 'vite'; |
| 3 | import react from '@vitejs/plugin-react'; |
| 4 | |
| 5 | export default defineConfig({ |
| 6 | plugins: [react()], |
| 7 | resolve: { |
| 8 | alias: { |
| 9 | '@revealjs/react': resolve(__dirname, '../src/index.ts'), |
| 10 | }, |
| 11 | }, |
| 12 | }); |
| 13 |