Skip to content
Permalink
Browse files

Updates

  • Loading branch information
ndthanhdev committed Nov 5, 2019
1 parent a62c7af commit 158e8e997568130baa4de2dd06aae9ff381148a6
Showing with 2 additions and 2 deletions.
  1. +1 −1 dist/index.js
  2. +1 −1 src/create-loader.ts
@@ -86,7 +86,7 @@
return _import;
}
function createESImport() {
if (isES())
if (!isES())
throw 'Not in ES environment';
return _createESImport();
}
@@ -58,7 +58,7 @@ function _createESImport() {
}

export function createESImport(): DynamicImport {
if (isES()) throw 'Not in ES environment'
if (!isES()) throw 'Not in ES environment'

return _createESImport()
}

0 comments on commit 158e8e9

Please sign in to comment.
You can’t perform that action at this time.