Skip to content

Commit

Permalink
update vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed May 24, 2024
1 parent 91301dc commit f8cbb25
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
"updates": "16.1.1",
"versions": "12.0.2",
"vite": "5.2.11",
"vite-config-silverwind": "1.0.3",
"vite-plugin-dts": "3.9.1",
"vite-config-silverwind": "2.1.0",
"vitest": "1.6.0",
"vitest-config-silverwind": "9.0.6"
}
Expand Down
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {defineConfig} from "vite";
import {lib} from "vite-config-silverwind";
import {nodeLib} from "vite-config-silverwind";

export default defineConfig(lib({
export default defineConfig(nodeLib({
url: import.meta.url,
}));

0 comments on commit f8cbb25

Please sign in to comment.