mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-03-13 10:30:18 +08:00
chore: fix vercel build (#20645)
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
import fs from 'node:fs';
|
||||
|
||||
import packageJson from '../../package.json';
|
||||
|
||||
packageJson.name = 'rsshub-vercel';
|
||||
// @ts-ignore
|
||||
delete packageJson.scripts;
|
||||
// @ts-ignore
|
||||
delete packageJson.main;
|
||||
// @ts-ignore
|
||||
delete packageJson.files;
|
||||
// @ts-ignore
|
||||
delete packageJson['lint-staged'];
|
||||
|
||||
fs.writeFileSync('rsshub-vercel/package.json', JSON.stringify(packageJson, null, 4));
|
||||
Reference in New Issue
Block a user