- 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
48 lines
636 B
Text
48 lines
636 B
Text
# Exclude source maps
|
|
*.map
|
|
**/*.map
|
|
|
|
# Development files
|
|
node_modules/
|
|
src/
|
|
tests/
|
|
examples/
|
|
.github/
|
|
.vscode/
|
|
.idea/
|
|
cloud-wrapper/
|
|
scripts/
|
|
dev/
|
|
|
|
# Configuration files
|
|
.eslintrc
|
|
.prettierrc
|
|
tsconfig*.json
|
|
rollup.config.js
|
|
jest.config.js
|
|
|
|
# Build artifacts
|
|
emocoverage/
|
|
.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
|
|
# Include the logo but exclude other PNGs
|
|
!brainy.png
|
|
*.png
|
|
encoded-image.*
|
|
README.demo.md
|
|
scalingStrategy.md
|
|
|
|
# Misc
|
|
.DS_Store
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
test-results.json
|