Commit 2c86e2b
Demo User
refactor: Optimize package structure for smaller download size
- Remove outputs/ directory (example files not needed)
- Remove examples/ directory (moved to docs)
- Remove README.npm.md (consolidated into README.md)
- Add download-fonts.js for on-demand font downloads
- Update .npmignore to exclude fonts and examples
- Simplify README.md to be more concise
- Add postinstall.js for better setup experience
- Update package.json files field to reduce package size
- Add 'pto download-fonts' CLI command
Fonts are now downloaded on demand instead of bundled,
reducing npm package size from ~76MB to <1MB.1 parent b6db11e commit 2c86e2b
14 files changed
Lines changed: 358 additions & 2269 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
0 commit comments