-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathvite.config.js
More file actions
38 lines (37 loc) · 1.77 KB
/
vite.config.js
File metadata and controls
38 lines (37 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import injectHTML from 'vite-plugin-html-inject'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), injectHTML()],
build: {
minify: false,
target: 'esnext',
rolldownOptions: {
input: {
'main': 'index.html',
'recipe-gallery': 'recipe-gallery/index.html',
'queue-with-progress-steps': 'recipe-gallery/queue-with-progress-steps.html',
'bootstrap-custom-loader': 'recipe-gallery/bootstrap-custom-loader.html',
'custom-icon': 'recipe-gallery/custom-icon.html',
'sweetalert2-laravel': 'recipe-gallery/sweetalert2-laravel.html',
'sweetalert2-react': 'recipe-gallery/sweetalert2-react.html',
'sweetalert2-react-router': 'recipe-gallery/sweetalert2-react-router.html',
'three-buttons-dialog': 'recipe-gallery/three-buttons-dialog.html',
'modal-with-iframe': 'recipe-gallery/modal-with-iframe.html',
'draw-attention': 'recipe-gallery/draw-attention.html',
'colored-toasts': 'recipe-gallery/colored-toasts.html',
'crop-image': 'recipe-gallery/crop-image.html',
'login-form': 'recipe-gallery/login-form.html',
'input-datepicker': 'recipe-gallery/input-datepicker.html',
'i18n-l10n': 'recipe-gallery/i18n-l10n.html',
'input-number-input-range': 'recipe-gallery/input-number-input-range.html',
'validation-message-custom-icon': 'recipe-gallery/validation-message-custom-icon.html',
'blurred-backdrop': 'recipe-gallery/blurred-backdrop.html',
'sidebars-drawers': 'recipe-gallery/sidebars-drawers.html',
'pdf-viewer': 'recipe-gallery/pdf-viewer.html',
'google-maps': 'recipe-gallery/google-maps.html',
},
},
},
})