Skip to content

Commit

Permalink
docs(guides): minor fix in tree-shaking
Browse files Browse the repository at this point in the history
  • Loading branch information
skipjack committed Aug 23, 2017
1 parent 3ab6d65 commit 257bce1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/guides/tree-shaking.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ __src/index.js__
// Lodash, now imported by this script
- element.innerHTML = _.join(['Hello', 'webpack'], ' ');
+ element.innerHTML = _.join([
'Hello webpack!',
'5 cubed is equal to ' + cube(5)
], '\n\n');
+ 'Hello webpack!',
+ '5 cubed is equal to ' + cube(5)
+ ], '\n\n');

return element;
}
Expand Down

0 comments on commit 257bce1

Please sign in to comment.