-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update Vite to version 4 * remove minification when building for github pages
- Loading branch information
1 parent
dc16273
commit 381ce02
Showing
3 changed files
with
1,205 additions
and
1,560 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
import { defineConfig } from 'vite' | ||
import { createVuePlugin } from 'vite-plugin-vue2' | ||
import { defineConfig } from "vite"; | ||
import { createVuePlugin } from "vite-plugin-vue2"; | ||
|
||
export default defineConfig({ | ||
base: '/beaker/', | ||
base: "/beaker/", | ||
plugins: [createVuePlugin()], | ||
build: { | ||
minify: false, | ||
sourcemap: true, | ||
commonjsOptions: { | ||
requireReturnsDefault: true | ||
} | ||
} | ||
}) | ||
requireReturnsDefault: true, | ||
}, | ||
}, | ||
}); |
Oops, something went wrong.