We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed3b65d commit 83c535bCopy full SHA for 83c535b
vite.config.ts
@@ -2,15 +2,19 @@ import react from '@vitejs/plugin-react'
2
import tsconfigPaths from 'vite-tsconfig-paths'
3
import alias from '@rollup/plugin-alias'
4
import path from 'path'
5
-import liveReload from 'vite-plugin-live-reload'
+
6
+// import liveReload from 'vite-plugin-live-reload'
7
8
import { v4wp } from '@kucrut/vite-for-wp'
9
10
export default {
11
plugins: [
12
alias(),
13
react(),
14
tsconfigPaths(),
- liveReload(__dirname + '/**/*.php'),
15
16
+ // liveReload(__dirname + '/**/*.php'), // Optional, if you want to reload page on php changed
17
18
v4wp({
19
input: 'js/src/main.tsx', // Optional, defaults to 'src/main.js'.
20
outDir: 'js/dist', // Optional, defaults to 'dist'.
0 commit comments