mirror of https://github.com/webpack/webpack.git
docs(code-splitting-specify-chunk-name): Improve README.md
This commit is contained in:
parent
1373966f1a
commit
35f66eaba8
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue