File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,14 @@ export default function loadComponents(loadableState) {
40
40
invariant ( WEBPACK , '`loadComponents()` is only compatible with Webpack' )
41
41
42
42
return Promise . all (
43
- loadableState . map ( chunk => __webpack_require__ . e ( chunk ) ) . catch ( error => {
44
- // We can safely ignore "missing" type errors
45
- // we just want the bundle to be loaded, not the module installed
46
- if ( error . message . match ( / m i s s i n g : / ) ) return
47
- throw error
48
- } ) ,
43
+ loadableState . map ( chunk =>
44
+ __webpack_require__ . e ( chunk ) . catch ( error => {
45
+ // We can safely ignore "missing" type errors
46
+ // we just want the bundle to be loaded, not the module installed
47
+ if ( error . message . match ( / m i s s i n g : / ) ) return
48
+ throw error
49
+ } ) ,
50
+ ) ,
49
51
) . catch ( error => {
50
52
warn ( '`loadComponents()` has failed' )
51
53
warn ( error )
You can’t perform that action at this time.
0 commit comments