Skip to content

Commit

Permalink
change vite config so top level await can be used
Browse files Browse the repository at this point in the history
  • Loading branch information
mstop4 committed Jul 5, 2024
1 parent e9e5807 commit a3a3825
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ import { resolve } from 'path';
import { defineConfig } from 'vite';

export default defineConfig({
base: '/mc-3d-path-map/'
base: '/mc-3d-path-map/',
build: {
target: 'esnext' //browsers can handle the latest ES features
}
});

0 comments on commit a3a3825

Please sign in to comment.