Skip to content

Commit

Permalink
Merge pull request #1 from join-com/upgrade_next
Browse files Browse the repository at this point in the history
Upgrade next.js
  • Loading branch information
favorit authored Jun 25, 2018
2 parents aa18ff3 + 645435c commit ad962e4
Show file tree
Hide file tree
Showing 5 changed files with 2,536 additions and 2,795 deletions.
6 changes: 0 additions & 6 deletions .babelrc

This file was deleted.

13 changes: 13 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const env = {
"process.env.NODE_ENV": process.env.NODE_ENV
};

module.exports = {
presets: [
["@babel/preset-env", { "modules": "commonjs" }],
"next/babel"
],
plugins: [
["transform-define", env]
]
};
Loading

0 comments on commit ad962e4

Please sign in to comment.