Skip to content

Commit 7bd31fe

Browse files
committed
chore: update the configs
1 parent aa51116 commit 7bd31fe

File tree

3 files changed

+260
-1
lines changed

3 files changed

+260
-1
lines changed

package-lock.json

Lines changed: 257 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "vite build",
9+
"deploy:gh": "gh-pages -d dist",
910
"build:analyze": "ANALYZE=true vite build",
1011
"preview": "vite preview",
1112
"test": "vitest",
@@ -50,6 +51,7 @@
5051
"eslint-plugin-promise": "^6.1.1",
5152
"eslint-plugin-react": "^7.33.2",
5253
"eslint-plugin-react-hooks": "^4.6.0",
54+
"gh-pages": "^6.3.0",
5355
"jsdom": "^23.0.1",
5456
"postcss": "^8.4.32",
5557
"rollup-plugin-visualizer": "^6.0.5",

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default defineConfig({
3838
})
3939
: null,
4040
].filter(Boolean),
41-
base: '/',
41+
base: '/grwm.dev/',
4242
build: {
4343
outDir: 'dist',
4444
// Copy public assets including robots.txt and sitemap.xml

0 commit comments

Comments
 (0)