Skip to content

Commit

Permalink
chore: add BABEL_KEEP_MODULES to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Jul 28, 2020
1 parent e452b28 commit f4c75ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ module.exports = {
};
```

If you want to keep the ES modules as they are (not transforming `import` to `require`), set `BABEL_KEEP_MODULES` to `true`.
```
cross-env BABEL_KEEP_MODULES=true
```

## Behind the scenes

Expand Down

0 comments on commit f4c75ff

Please sign in to comment.