File tree 1 file changed +5
-7
lines changed
packages/qwik/src/optimizer/src/plugins
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -1171,18 +1171,16 @@ export function convertManifestToBundleGraph(manifest: QwikManifest): QwikBundle
1171
1171
let didAdd = false ;
1172
1172
for ( const depName of bundle . dynamicImports || [ ] ) {
1173
1173
// If we dynamically import a qrl segment that is not a handler, we'll probably need it soon
1174
- const dep = graph [ depName ] ;
1174
+ // const dep = graph[depName];
1175
1175
if ( ! graph [ depName ] ) {
1176
1176
// external dependency
1177
1177
continue ;
1178
1178
}
1179
- if ( dep . isTask ) {
1180
- if ( ! didAdd ) {
1181
- deps . add ( '<dynamic>' ) ;
1182
- didAdd = true ;
1183
- }
1184
- deps . add ( depName ) ;
1179
+ if ( ! didAdd ) {
1180
+ deps . add ( '<dynamic>' ) ;
1181
+ didAdd = true ;
1185
1182
}
1183
+ deps . add ( depName ) ;
1186
1184
}
1187
1185
map . set ( bundleName , { index, deps } ) ;
1188
1186
bundleGraph . push ( bundleName ) ;
You can’t perform that action at this time.
0 commit comments