Skip to content

Commit 5bd5090

Browse files
authored
Merge pull request #633 from johnnyreilly/patch-2
Update migrating.md
2 parents 00956e9 + b6493fe commit 5bd5090

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/guides/migrating.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ See [CLI](/api/cli).
312312

313313
These functions are now always asynchronous instead of calling their callback sync if the chunk is already loaded.
314314

315+
**nb `require.ensure` now depends upon native `Promise`s. If using `require.ensure` in an environment that lacks them then you will need a polyfill. **
316+
315317
## Loader configuration is through `options`
316318

317319
You can *no longer* configure a loader with a custom property in the `webpack.config.js`. It must be done through the `options`. The following configuration with the `ts` property is no longer valid with webpack 2:

0 commit comments

Comments
 (0)