Skip to content

Commit d400119

Browse files
committed
docs(guides): minor tweaks to code-splitting and lazy-loading
1 parent 8b6dc81 commit d400119

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

content/guides/code-splitting.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ module.exports = {
6969
index: './src/index.js',
7070
another: './src/another-module.js'
7171
},
72-
output: {
73-
filename: '[name].bundle.js',
74-
path: path.resolve(__dirname, 'dist')
75-
},
7672
plugins: [
7773
new HTMLWebpackPlugin({
7874
title: 'Code Splitting'
7975
})
80-
]
76+
],
77+
output: {
78+
filename: '[name].bundle.js',
79+
path: path.resolve(__dirname, 'dist')
80+
}
8181
};
8282
```
8383

content/guides/lazy-loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ __src/index.js__
6767
+ var print = module.default;
6868
+
6969
+ print();
70-
+ })
70+
+ });
7171

7272
return element;
7373
}

0 commit comments

Comments
 (0)