Comments (5)
@Raynos process
and Buffer
now get picked up and included (the latter is ~100kB so pretty significant), along with the require
emulation.
Not sure how to handle the padding precisely though, if I understand correctly that can vary depending on the options passed to browserify - maybe that's better not included, given you still get results that reflect the proportions of the bundle being taken up by specific files?
Edit: would be interesting to know how much unaccounted space is left in your bundle now :)
from disc.
I prefer not accounting for the padding. Including the Buffer in file size makes it even more important to have a nodejs
option.
from disc.
@ForbesLindesay Yup - that's coming up next :)
from disc.
cool :)
from disc.
👍
I have a case where the total size shown is 303kb, whereas the same file after bundling is 198kb.
from disc.
Related Issues (20)
- TypeError: Invalid non-string/buffer chunk HOT 1
- TypeError: Cannot read property 'source' of undefined HOT 18
- Flat disc instead of hierarchy HOT 2
- module not resolving when using disc HOT 2
- Cant pipe into discify HOT 1
- --open in conjunction with --output
- feature request: console reporter HOT 1
- Manage external package only bundle HOT 3
- discify missing some scripts HOT 2
- Outdated dependency `bl` causing install failure HOT 8
- Flattened npm 3 installs don't display dependency hierarchies correctly
- Unexpected token: ILLEGAL HOT 2
- ES6 syntax (computed property names) causes esprima-fb error
- --open does not work on Windows HOT 1
- error "Duplicate data property in object literal not allowed in strict mode" HOT 1
- Update d3 to v4 modules
- Can the visualization be used with other (non-bundle-related) data?
- Not working with browserify+vue?
- fix npm 3 module resolution HOT 5
- release new version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from disc.