update packages and add valign
This commit is contained in:
12
scripts/reveal.js/react/demo/vite.config.ts
Normal file
12
scripts/reveal.js/react/demo/vite.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { resolve } from 'path';
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@revealjs/react': resolve(__dirname, '../src/index.ts'),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user