Skip to content

Commit

Permalink
oof
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jul 29, 2020
1 parent 949ab6d commit a6806eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/babel/src/index.js
@@ -1,5 +1,5 @@
import * as babel from '@babel/core';
import { version } from "rollup/package.json";
import { VERSION } from "rollup";
import { createFilter } from '@rollup/pluginutils';

import { BUNDLED, HELPERS } from './constants';
Expand Down Expand Up @@ -47,7 +47,7 @@ const unpackInputPluginOptions = ({ skipPreflightCheck = false, ...rest }) => {
supportsDynamicImport: true,
supportsTopLevelAwait: true,
// todo: remove version checks for 1.20 - 1.25 when we bump peer deps
supportsExportNamespaceFrom: !version.match(/^1\.2[0-5]/),
supportsExportNamespaceFrom: !VERSION.match(/^1\.2[0-5]/),
...rest.caller
}
});
Expand Down

0 comments on commit a6806eb

Please sign in to comment.