We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a8c146 commit c5c1755Copy full SHA for c5c1755
2 files changed
packages/instrument-bundler/src/parse.ts
@@ -313,9 +313,11 @@ export function parseImports(code: string): Iterable<Import> {
313
return {
314
*[Symbol.iterator]() {
315
for (let {
316
+ // eslint-disable-next-line prefer-const
317
dynamicImportStartIndex,
318
moduleSpecifierEndIndexExclusive,
319
moduleSpecifierStartIndex,
320
321
statementStartIndex
322
} of imports) {
323
const isImportMeta = dynamicImportStartIndex === -2;
packages/instrument-bundler/src/vendor/esbuild.ts
@@ -1,3 +1,5 @@
1
+/* eslint-disable no-var */
2
+
3
if (typeof window === 'undefined') {
4
var { build, transform } = await import('esbuild');
5
} else {
0 commit comments