Skip to content

Guides - Tree Shaking and Production Rewrites #1508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 26, 2017
Prev Previous commit
Next Next commit
docs(guides): resort and add minor update
  • Loading branch information
skipjack committed Aug 26, 2017
commit 5744b80e62aca42b991df9eab1c838c18389b4af
2 changes: 1 addition & 1 deletion src/content/guides/production.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Production
sort: 7
sort: 8
contributors:
- henriquea
- rajagopal4890
Expand Down
4 changes: 3 additions & 1 deletion src/content/guides/tree-shaking.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Tree Shaking
sort: 8
sort: 7
contributors:
- simon04
- zacanger
Expand Down Expand Up @@ -54,6 +54,8 @@ export function cube(x) {

With that in place, let's update our entry script to utilize this one of these new methods:

__src/index.js__

``` diff
import _ from 'lodash';
+ import { cube } from './math.js';
Expand Down