Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanliang3 committed Jan 13, 2022
1 parent 454c11d commit 7bdd420
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Application } from 'egg';
const startup = async (app: Application & Record<string, any>) => {
app.addPageConfig(app.name);

app.router.get('*', app.viewInject(app.name, 'index.html'), () => {
app.router.get('/', app.viewInject(app.name, 'index.html'), () => {
//
});

Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

rm -rf output dist node_modules

npm install
yarn install
npm run build

cp package.json output
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"app/views",
"node_modules*",
"src",
"vite.config.ts"
"packages/**/src",
"**/vite.config.ts",
"test"
]
}

0 comments on commit 7bdd420

Please sign in to comment.