You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
I am looking for a way to handle the loading error. import() and require.ensure() allow handling the loading error.
But bundle-loader seems do not support this?
From the source code, its implemetation is based on require.ensure() .
I think bundle-loader is outdated for webpack2 & 3.
Because with webpack 2 & 3, require.ensure() parameters is changed.
Here is the latest version (webpack 3.10.0): require.ensure(dependencies: String[], callback: function(require), errorCallback: function(error), chunkName: String)
bundle-loader does not handle the errorCallback, and, the third parameter is not chunkName.
Am I correct?
The text was updated successfully, but these errors were encountered:
I am looking for a way to handle the loading error.
import()
andrequire.ensure()
allow handling the loading error.But
bundle-loader
seems do not support this?From the source code, its implemetation is based on
require.ensure()
.https://github.com/webpack-contrib/bundle-loader/blob/master/index.js
I think
bundle-loader
is outdated forwebpack2 & 3
.Because with
webpack 2 & 3
,require.ensure()
parameters is changed.Here is the latest version (
webpack 3.10.0
):require.ensure(dependencies: String[], callback: function(require), errorCallback: function(error), chunkName: String)
bundle-loader
does not handle theerrorCallback
, and, the third parameter is notchunkName
.Am I correct?
The text was updated successfully, but these errors were encountered: