fix: exclude framework bundles from npm package to reduce size
- Add dist/framework.js (4.6MB) and dist/framework.min.js (2MB) to .npmignore - Exclude their source maps (33.4MB combined) from npm package - Reduces npm package size from 16.5MB to ~3MB unpacked - Framework bundles are only needed for demo/CDN usage, not npm installs
This commit is contained in:
parent
56289df8ef
commit
2d006bb5af
1 changed files with 6 additions and 0 deletions
|
|
@ -25,6 +25,12 @@ jest.config.js
|
||||||
emocoverage/
|
emocoverage/
|
||||||
.nyc_output/
|
.nyc_output/
|
||||||
|
|
||||||
|
# Framework bundles (not needed in npm package)
|
||||||
|
dist/framework.js
|
||||||
|
dist/framework.min.js
|
||||||
|
dist/framework.js.map
|
||||||
|
dist/framework.min.js.map
|
||||||
|
|
||||||
# Large files
|
# Large files
|
||||||
# Include the logo but exclude other PNGs
|
# Include the logo but exclude other PNGs
|
||||||
!brainy.png
|
!brainy.png
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue