From 40ad2fa4a89727c060afe565a2cf3a27282eb35b Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Mon, 1 Jan 2024 23:10:09 -0800 Subject: [PATCH] add import to keys --- src/ByteBeatCompiler.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ByteBeatCompiler.js b/src/ByteBeatCompiler.js index 27971b0..f99791a 100644 --- a/src/ByteBeatCompiler.js +++ b/src/ByteBeatCompiler.js @@ -244,7 +244,9 @@ export default class ByteBeatCompiler { } static s_fnHeader = (function() { - const keys = {}; + const keys = { + import: true, + }; const windowKeep = new Set([ 'parseInt', 'parseFloat',