-
Notifications
You must be signed in to change notification settings - Fork 1
/
vite.config.js
28 lines (27 loc) · 1019 Bytes
/
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
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/code-block-helper.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',
'node_modules/highlight.js/styles/atom-one-dark.css',
],
refresh: true,
}),
],
});