Differences in require vs require.ensure for code-splitting in webpack 2
Asked Answered
B

0

6

For Webpack 2, does require() do anything different than require.ensure() for code spitting?

I have a project that was converted from a requirejs base and require() still works and appears to be splitting my app appropriately. Is there any reason I should change to require.ensure() instead?

Buttonhole answered 18/5, 2017 at 21:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.