Skip to content

Commit 03aeb82

Browse files
authored
Update code-splitting.mdx
1 parent 98a6bd0 commit 03aeb82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/guides/code-splitting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ Now, instead of statically importing `lodash`, we'll use dynamic importing to se
314314
-
315315
-function component() {
316316
+function getComponent() {
317-
const element = document.createElement('div');
317+
- const element = document.createElement('div');
318318

319319
- // Lodash, now imported by this script
320320
- element.innerHTML = _.join(['Hello', 'webpack'], ' ');

0 commit comments

Comments
 (0)