-
Notifications
You must be signed in to change notification settings - Fork 1
/
vite.config.js
30 lines (29 loc) · 1.09 KB
/
vite.config.js
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
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
export default defineConfig({
plugins: [
laravel({
input: [
// typescript
'resources/ts/ckeditor/ckeditor.ts',
'resources/ts/sharer.ts',
'resources/ts/highlight.ts',
'resources/ts/tagify.ts',
'resources/ts/scroll-to-top-btn.ts',
'resources/ts/copy-code-btn.ts',
'resources/ts/oembed/embed-youtube-oembed.ts',
'resources/ts/oembed/embed-twitter-oembed.ts',
'resources/ts/progress-bar.ts',
'resources/ts/scroll-to-anchor.ts',
'resources/ts/post-outline.ts',
// css
'resources/css/app.css',
'node_modules/@yaireo/tagify/dist/tagify.css',
'resources/css/editor.css',
'resources/css/missing-content-style.css',
'node_modules/highlight.js/styles/atom-one-dark.css',
],
refresh: true,
}),
],
});