Skip to content

Commit

Permalink
build: change config
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Sep 26, 2023
1 parent f77ef79 commit 209b120
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 92 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"test": "vitest",
"coverage": "vitest run --coverage",
"e2e": "playwright test",
"predeploy": "vite build --base=/local-microblogging-client/",
"deploy": "gh-pages -d dist",
"deploy": "act -j publish",
"release": "standard-version",
"lint": "eslint --ext .tsx,.jsx,.js,.ts src/",
"storybook": "storybook dev -p 6006",
Expand Down Expand Up @@ -59,7 +58,6 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.12",
"gh-pages": "^6.0.0",
"msw": "^1.2.2",
"postcss": "^8.4.18",
"prettier": "3.0.3",
Expand Down
89 changes: 0 additions & 89 deletions pnpm-lock.yaml

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

1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { VitePWA } from 'vite-plugin-pwa';
// const path = require('node:path');

export default defineConfig({
base: process.env.NODE_ENV === 'production' ? '/local-microblogging-client/' : '/',
build: {
emptyOutDir: true,
},
Expand Down

0 comments on commit 209b120

Please sign in to comment.