We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88d89e commit bb3da7eCopy full SHA for bb3da7e
babel.config.js
@@ -7,7 +7,13 @@ const supportedNodeVersion = semver.minVersion(pkg.engines.node).version;
7
8
module.exports = {
9
presets: [
10
- ['@babel/preset-env', { targets: { node: supportedNodeVersion } }],
+ [
11
+ '@babel/preset-env',
12
+ {
13
+ exclude: ['@babel/plugin-proposal-dynamic-import'],
14
+ targets: { node: supportedNodeVersion },
15
+ },
16
+ ],
17
['@babel/preset-typescript', { allowDeclareFields: true }],
18
],
19
};
0 commit comments