Skip to content

Commit

Permalink
chore: revert typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
fz6m committed Dec 23, 2023
1 parent 77172a8 commit f2d6868
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 166 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"tsx": "^3.12.2",
"tunnel": "^0.0.6",
"turbo": "^1.11.2",
"typescript": "^5.3.3",
"typescript": "^4.9.4",
"uglify-js": "^3.17.4",
"umi": "workspace:*",
"umi-scripts": "workspace:*",
Expand Down
3 changes: 1 addition & 2 deletions packages/preset-umi/src/features/devTool/devTool.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import type { RequestHandler } from '@umijs/bundler-webpack';
import { cheerio } from '@umijs/utils';
import { existsSync, readFileSync } from 'fs';
import { join } from 'path';
Expand Down Expand Up @@ -96,6 +95,6 @@ export default (api: IApi) => {

return next();
},
] satisfies RequestHandler[];
];
});
};
Loading

0 comments on commit f2d6868

Please sign in to comment.