Skip to content

Commit

Permalink
slightly smaller hashbangre
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Jul 28, 2023
1 parent a98b808 commit 3f78d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esmockLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const exportNamesRe = /.*exportNames=(.*)/
const withHashRe = /.*#-#/
const isesmRe = /isesm=true/
const isnotfoundRe = /isfound=false/
const hashbangRe = /^(#![^\n]*[\n])/
const hashbangRe = /^(#![^\n]*\n)/

const globalPreload = (({ port }) => (
port.addEventListener('message', ev => (
Expand Down

0 comments on commit 3f78d0a

Please sign in to comment.