Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Optimize/minimize bundle.js #78

Closed
pdehaan opened this issue Jun 9, 2017 · 1 comment
Closed

Optimize/minimize bundle.js #78

pdehaan opened this issue Jun 9, 2017 · 1 comment
Milestone

Comments

@pdehaan
Copy link
Collaborator

pdehaan commented Jun 9, 2017

I randomly noticed that the current bundle has an inline //# sourceMappingURL=data:application/json;charset=utf-8;base64, at the bottom of the file.

Not bad for development, but I did notice that it makes the file explode up to 744KB. The same file without the inline source map is about 281KB, which is a lot more mobile friendly.

@pdehaan
Copy link
Collaborator Author

pdehaan commented Jun 9, 2017

Ah, I think it's the pesky -d flag in npm start script... Easy fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants