Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Slim down js resources #80

Open
4 tasks done
thunsaker opened this issue Feb 19, 2016 · 3 comments
Open
4 tasks done

Slim down js resources #80

thunsaker opened this issue Feb 19, 2016 · 3 comments
Assignees

Comments

@thunsaker
Copy link
Owner

Minify all the things!

When I pulled in moment.js #48 it added a bit of bloat, I'm only using one small part of the library, I may be able to pare it down to the bare minimum.

Same goes for timeline.js #68

  • Slim moment.js
  • Minify moment.js
  • Slim timeline.js
  • Minify timeline.js
@thunsaker thunsaker self-assigned this Feb 19, 2016
@thunsaker
Copy link
Owner Author

PBW size as of v3.0 221kb, which is an increase of ~173% from 81kb as of v2.2.

Just minifying the 2 aforementioned files drops the PBW down to 138kb saving ~38%.

thunsaker added a commit that referenced this issue Feb 20, 2016
@thunsaker thunsaker modified the milestone: Spoon 3.2 Jul 19, 2016
@thunsaker
Copy link
Owner Author

PBW size as of 3.1: 205kb ⬇️ from v3.0: 221kb

I did drop Aplite, so that may account for some of the slimming...

Moving pebble-localize to a package in #84 had no effect on size, still sitting at 205kb

@thunsaker
Copy link
Owner Author

PBW size as of 3.2: 238kb ⬆️ from 3.1: 205kb

Added new icon, removed some debug code. Added support for Diorite and build with SDK4. See #91

@thunsaker thunsaker removed this from the Spoon 3.2 milestone Sep 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant