-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b87e04f
commit 25ea5eb
Showing
14 changed files
with
10,723 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,8 @@ | ||
{ | ||
"name": "vite-size", | ||
"version": "0.0.0", | ||
"description": "Measure your build bundle size with Vite", | ||
"main": "dist/index.js", | ||
"bin": "dist/bin.js", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "pnpm run build && node dist/index.js", | ||
"build": "npx tsc", | ||
"watch": "npx tsc --watch" | ||
}, | ||
"author": "glitch-txs", | ||
"license": "MIT", | ||
"dependencies": { | ||
"vite": "^5.2.9" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.12.7", | ||
"typescript": "^5.4.5" | ||
"scripts": { | ||
"build": "pnpm run --filter ./package build", | ||
"size": "pnpm run --filter ./playground size" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env node | ||
|
||
import { run } from "./index.js" | ||
|
||
const res = await run(process) | ||
|
||
console.log(res) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "vite-size", | ||
"version": "0.0.0", | ||
"description": "Measure your build bundle size with Vite", | ||
"main": "dist/index.js", | ||
"bin": "dist/bin.js", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "pnpm run build && node dist/index.js", | ||
"build": "npx tsc", | ||
"watch": "npx tsc --watch" | ||
}, | ||
"author": "glitch-txs", | ||
"license": "MIT", | ||
"dependencies": { | ||
"vite": "5.2.9" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.12.7", | ||
"typescript": "^5.4.5" | ||
} | ||
} |
Oops, something went wrong.