first demo
This commit is contained in:
@@ -1,21 +1,24 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import { viteStaticCopy } from 'vite-plugin-static-copy';
|
||||
import basicSsl from '@vitejs/plugin-basic-ssl';
|
||||
|
||||
export default defineConfig({
|
||||
base: './', // This makes all assets use relative paths
|
||||
plugins: [
|
||||
basicSsl(),
|
||||
tailwindcss(),
|
||||
viteStaticCopy({
|
||||
targets: [
|
||||
{
|
||||
src: 'images/*',
|
||||
dest: 'images',
|
||||
},
|
||||
//{
|
||||
// src: 'images/*',
|
||||
// dest: 'images',
|
||||
//},
|
||||
],
|
||||
}),
|
||||
],
|
||||
server: {
|
||||
host: true,
|
||||
watch: {
|
||||
usePolling: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user