Skip to content

Commit

Permalink
fix: remove main asset path query (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
jas0ncn committed Jan 12, 2021
1 parent 89cf124 commit dde2252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/ChunkExtractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ class ChunkExtractor {
smartRequire(path.join(this.outputPath, name.split('?')[0]))
})

return smartRequire(mainAsset.path)
return smartRequire(mainAsset.path.split('?')[0])
}

// Main assets
Expand Down

0 comments on commit dde2252

Please sign in to comment.