1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-29 09:19:57 +02:00

switch from gulp to vite to build, add types for reveal.js config

This commit is contained in:
Hakim El Hattab
2024-03-28 11:07:57 +01:00
parent eb95b14531
commit a89af36022
90 changed files with 61921 additions and 1106 deletions

20
vite.config.styles.ts Normal file
View File

@@ -0,0 +1,20 @@
import { resolve } from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
root: './',
build: {
emptyOutDir: false,
cssCodeSplit: true,
lib: {
formats: ['es'],
entry: {
'reveal': resolve(__dirname, 'css/reveal.scss'),
'reset': resolve(__dirname, 'css/reset.css'),
'theme/black': resolve(__dirname, 'css/theme/black.scss'),
},
}
},
plugins: [],
})