Skip to content

Commit

Permalink
remove babel-plugin-transform-define
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User committed Nov 8, 2017
1 parent 936c305 commit 1777041
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 817 deletions.
28 changes: 19 additions & 9 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
{
"presets": [
"next/babel"
],
"plugins": [
[
"transform-define",
"./env-config.js"
]
]
"env": {
"development": {
"presets": "next/babel"
},
"production": {
"presets": "next/babel"
},
"test": {
"presets": [
[
"env",
{
"modules": "commonjs"
}
],
"next/babel"
]
}
}
}
Loading

0 comments on commit 1777041

Please sign in to comment.