Skip to content

Commit

Permalink
perf: improve source parse (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Mar 12, 2020
1 parent c9c8dad commit 9e5ce56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/source-plugin.js
Expand Up @@ -506,7 +506,7 @@ export default (options) =>
let { value } = source;
const URLObject = parse(value);

if (typeof URLObject.hash !== 'undefined') {
if (URLObject.hash) {
const { hash } = URLObject;

URLObject.hash = null;
Expand Down

0 comments on commit 9e5ce56

Please sign in to comment.