1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Update with-universal-configuration (#4624)

resolves #4623
This commit is contained in:
Telegin Evgeniy 2018-06-17 17:50:52 +06:00 committed by Tim Neutkens
parent d674dcc426
commit cdfcde16a6
3 changed files with 7 additions and 9 deletions

View file

@ -1,8 +0,0 @@
{
"presets": [
"next/babel"
],
"plugins": [
["transform-define", "./env-config.js"]
]
}

View file

@ -0,0 +1,6 @@
const env = require('./env-config.js')
module.exports = {
presets: ['next/babel'],
plugins: [['transform-define', env]]
}

View file

@ -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"
}