docs(code-splitting-specify-chunk-name): Improve README.md

This commit is contained in:
Albus Dumbledore 2020-02-28 19:19:13 +05:30 committed by GitHub
parent 1373966f1a
commit 35f66eaba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# example.js
This example illustrates how to specify chunk name in `require.ensure()` and `import()` to separated modules into separate chunks manually.
This example illustrates how to specify the chunk name in `require.ensure()` and `import()` to separated modules into separate chunks manually.
```javascript
import("./templates/foo" /* webpackChunkName: "chunk-foo" */ ).then(function(foo) {