|
71 | 71 | "homepage": "https://vitejs.dev", |
72 | 72 | "funding": "https://github.com/vitejs/vite?sponsor=1", |
73 | 73 | "scripts": { |
74 | | - "dev": "rimraf dist && pnpm run build-bundle -w", |
| 74 | + "dev": "tsx scripts/dev.ts", |
75 | 75 | "build": "rimraf dist && run-s build-bundle build-types", |
76 | | - "build-bundle": "rollup --config rollup.config.ts --configPlugin typescript", |
| 76 | + "build-bundle": "rollup --config rollup.config.ts --configPlugin esbuild", |
77 | 77 | "build-types": "run-s build-types-temp build-types-roll build-types-check", |
78 | 78 | "build-types-temp": "tsc --emitDeclarationOnly --outDir temp -p src/node", |
79 | | - "build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp", |
| 79 | + "build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin esbuild && rimraf temp", |
80 | 80 | "build-types-check": "tsc --project tsconfig.check.json", |
81 | 81 | "typecheck": "tsc --noEmit", |
82 | 82 | "lint": "eslint --cache --ext .ts src/**", |
|
102 | 102 | "@rollup/plugin-dynamic-import-vars": "^2.1.2", |
103 | 103 | "@rollup/plugin-json": "^6.1.0", |
104 | 104 | "@rollup/plugin-node-resolve": "15.2.3", |
105 | | - "@rollup/plugin-typescript": "^11.1.6", |
106 | 105 | "@rollup/pluginutils": "^5.1.0", |
107 | 106 | "@types/escape-html": "^1.0.4", |
108 | 107 | "@types/pnpapi": "^0.0.5", |
|
0 commit comments