Skip to content

Commit 3d6afe9

Browse files
committed
make ES transform explicit
1 parent f2d918a commit 3d6afe9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/babel.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ let presets = [
22
[
33
'babel-preset-atomic',
44
{
5+
// transform ES modules to commonjs
6+
keepModules: false,
57
// some of the packages use non-strict JavaScript in ES6 modules! We need to add this for now. Eventually, we should fix those packages and remove these:
68
notStrictDirectiveTriggers: ['use babel'],
79
notStrictCommentTriggers: ['@babel', '@flow', '* @babel', '* @flow']

0 commit comments

Comments
 (0)