Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Increased build size (300%) with 0.0.40 compared to 0.0.39 #323

Closed
biesbjerg opened this issue Nov 7, 2016 · 7 comments
Closed

Increased build size (300%) with 0.0.40 compared to 0.0.39 #323

biesbjerg opened this issue Nov 7, 2016 · 7 comments
Assignees

Comments

@biesbjerg
Copy link

Short description of the problem:

Build size increased 300% building with 0.0.40 compared to 0.0.39

Any idea what's going on?

Left side: build by 0.0.40
Right side: build by 0.0.39
image

@danbucholtz
Copy link
Contributor

@biesbjerg,

Super weird. I will look into it.

Thanks,
Dan

@danbucholtz
Copy link
Contributor

@biesbjerg,

I'm not seeing that. Can you blow away .tmp and www directory and try again?

Thanks,
Dan

@biesbjerg
Copy link
Author

biesbjerg commented Nov 7, 2016

Just reproduced it after deleting .tmp and clearing www.

Let me try and downgrade to 0.0.39 and try again.

EDIT: Confirmed. See terminal output:

[23:17:15]  ionic-app-scripts 0.0.39
[23:17:15]  build prod started ...
[23:17:15]  clean started ...
[23:17:15]  clean finished in 6 ms
[23:17:15]  copy started ...
[23:17:15]  ngc started ...
[23:17:16]  copy finished in 403 ms
[23:17:16]  lint started ...
[23:17:22]  lint finished in 5.89 s
[23:17:45]  ngc finished in 29.98 s
[23:17:45]  webpack started ...
[23:17:57]  webpack finished in 11.35 s
[23:17:57]  uglifyjs started ...
[23:17:57]  sass started ...
[23:17:58]  sass finished in 1.34 s
[23:17:58]  cleancss started ...
[23:17:59]  cleancss finished in 1.38 s
[23:18:10]  uglifyjs finished in 13.07 s
[23:18:10]  build prod finished in 54.43 s

main.js: 1770480 bytes

[23:15:11]  ionic-app-scripts 0.0.40
[23:15:11]  build prod started ...
[23:15:11]  clean started ...
[23:15:11]  clean finished in 1 ms
[23:15:11]  copy started ...
[23:15:11]  ngc started ...
[23:15:11]  copy finished in 283 ms
[23:15:11]  lint started ...
[23:15:16]  lint finished in 4.53 s
[23:15:38]  ngc finished in 27.15 s
[23:15:38]  webpack started ...
[23:15:47]  webpack finished in 9.25 s
[23:15:47]  uglifyjs started ...
[23:15:47]  sass started ...
[23:15:49]  sass finished in 1.58 s
[23:15:49]  cleancss started ...
[23:15:49]  uglifyjs finished in 1.91 s
[23:15:50]  cleancss finished in 1.21 s
[23:15:50]  build prod finished in 39.23 s

main.js: 5662819 bytes

@danbucholtz
Copy link
Contributor

@biesbjerg,

I see it now. It's for the prod build. Okay, we will fix in 0.0.41 or 0.0.42. It has to do with using eval sourcemaps I think. We are going to have a better story here soon.

Thanks,
Dan

@danbucholtz danbucholtz self-assigned this Nov 7, 2016
@danbucholtz
Copy link
Contributor

danbucholtz commented Nov 7, 2016

Fixed in 0.0.41 @biesbjerg. I just published it. We still intend to make some changes around this soon.

Thanks,
Dan

@jgw96
Copy link
Contributor

jgw96 commented Nov 7, 2016

Thanks for catching this @biesbjerg !

@biesbjerg
Copy link
Author

Thank you for creating Ionic! ;-)

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

3 participants