Skip to content

Commit

Permalink
Update vite.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
EuJinnLucaShow committed Nov 21, 2023
1 parent 075a32d commit 6afc86e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import glob from 'glob';
import injectHTML from 'vite-plugin-html-inject';
import FullReload from 'vite-plugin-full-reload';

export default defineConfig(({ command }) => {
export default defineConfig(() => {
return {
define: {[command === 'serve' ? 'global' : '_']: {}, },
define: {global: {}, },

root: 'src',

Expand Down

0 comments on commit 6afc86e

Please sign in to comment.