Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Why client bundle in v0.7 weights 200kb and 20kb on previous 0.6.x? #141

Closed
vladejs opened this issue Feb 27, 2018 · 2 comments · Fixed by #142
Closed

Why client bundle in v0.7 weights 200kb and 20kb on previous 0.6.x? #141

vladejs opened this issue Feb 27, 2018 · 2 comments · Fixed by #142

Comments

@vladejs
Copy link

vladejs commented Feb 27, 2018

I just upgraded to v0.7 and executed both sapper export and sapper build commands. The result?
Client bundle, specifically the file client/main.js weights 200kb

Is because source mapping support?

@thgh
Copy link
Contributor

thgh commented Feb 27, 2018

I noticed the same, solution: NODE_ENV=production sapper export

Rich-Harris added a commit that referenced this issue Feb 28, 2018
force NODE_ENV=production in build/export
@Rich-Harris
Copy link
Member

whoops! fixed in 0.7.4, thanks

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

Successfully merging a pull request may close this issue.

3 participants