Skip to content

Commit

Permalink
Update with-universal-configuration (#4624)
Browse files Browse the repository at this point in the history
resolves #4623
  • Loading branch information
teleginzhenya authored and timneutkens committed Jun 17, 2018
1 parent d674dcc commit cdfcde1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
8 changes: 0 additions & 8 deletions examples/with-universal-configuration/.babelrc

This file was deleted.

6 changes: 6 additions & 0 deletions examples/with-universal-configuration/.babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const env = require('./env-config.js')

module.exports = {
presets: ['next/babel'],
plugins: [['transform-define', env]]
}
2 changes: 1 addition & 1 deletion examples/with-universal-configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"react-dom": "^16.0.0"
},
"devDependencies": {
"babel-plugin-transform-define": "^1.2.0"
"babel-plugin-transform-define": "^1.3.0"
},
"license": "ISC"
}

0 comments on commit cdfcde1

Please sign in to comment.