Skip to content

Commit

Permalink
Revert "refactor: set static folder to publicDir"
Browse files Browse the repository at this point in the history
This reverts commit 629b219.
  • Loading branch information
aekasitt committed Nov 14, 2024
1 parent 629b219 commit 8a984f2
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 10 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
11 changes: 1 addition & 10 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
/* ~~/vite.config.ts */
/* ~~/vite.config.js */

import { URL, fileURLToPath } from 'node:url'
import autoprefixer from 'autoprefixer'
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwind from 'tailwindcss'

// https://vite.dev/config/
export default defineConfig({
base: '/bronx/',
css: {
postcss: {
plugins: [tailwind(), autoprefixer()],
},
},
plugins: [react()],
publicDir: fileURLToPath(new URL('./static', import.meta.url)),
})

0 comments on commit 8a984f2

Please sign in to comment.