We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b343e7 commit 506ed10Copy full SHA for 506ed10
src/content/guides/code-splitting.md
@@ -28,6 +28,7 @@ contributors:
28
- byzyk
29
- AnayaDesign
30
- wizardofhogwarts
31
+ - maximilianschmelzer
32
related:
33
- title: <link rel=”prefetch/preload”> in webpack
34
url: https://medium.com/webpack/link-rel-prefetch-preload-in-webpack-51a52358f84c
@@ -259,7 +260,7 @@ __src/index.js__
259
260
``` diff
261
- function getComponent() {
262
+ async function getComponent() {
-- return import(/* webpackChunkName: "lodash" */ 'lodash').then({ default: _ } => {
263
+- return import(/* webpackChunkName: "lodash" */ 'lodash').then(({ default: _ }) => {
264
- const element = document.createElement('div');
265
-
266
- element.innerHTML = _.join(['Hello', 'webpack'], ' ');
0 commit comments