mirror of
https://ghproxy.net/https://github.com/abhijitb/helix.git
synced 2025-08-28 00:34:34 +08:00
1. Added API backend for settings 2. Added React components for the settings page 3. Added JS lint using @wordpress/scripts 4. Lint fixes for PHP
16 lines
293 B
JavaScript
16 lines
293 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig( {
|
|
plugins: [ react() ],
|
|
build: {
|
|
outDir: 'build',
|
|
emptyOutDir: true,
|
|
rollupOptions: {
|
|
input: 'src/App.jsx',
|
|
output: {
|
|
entryFileNames: 'index.js',
|
|
},
|
|
},
|
|
},
|
|
} );
|