Skip to content

Commit

Permalink
Disable esModules for testing, vercel/next.js#6273
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerhutchings committed Feb 21, 2019
1 parent fc34979 commit f693bfc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion packages/app-project/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,18 @@
"babel-plugin-styled-components",
"dynamic-import-node"
],
"presets": ["next/babel"]
"presets": ["next/babel"],
"env": {
"test": {
"presets": [
[
"next/babel", {
"transform-runtime": {
"useESModules": false
}
}
]
]
}
}
}

0 comments on commit f693bfc

Please sign in to comment.