Skip to content
This repository was archived by the owner on Mar 14, 2021. It is now read-only.

Commit a019195

Browse files
author
Andrey Okonetchnikov
committed
fix: Use commonjs while transpiling to make it work with Next.js
1 parent 8bb2e17 commit a019195

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
{
2-
"presets": [
1+
module.exports = {
2+
presets: [
33
[
44
"@babel/env",
55
{
6-
"modules": false
6+
modules: "commonjs"
77
}
88
],
99
"@babel/react",
1010
"@emotion/babel-preset-css-prop"
1111
]
12-
}
12+
};

0 commit comments

Comments
 (0)