Skip to content

Commit 2557ef1

Browse files
teleginzhenyalependu
authored andcommitted
Update with-universal-configuration (vercel#4624)
resolves vercel#4623
1 parent fc6c5cd commit 2557ef1

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

examples/with-universal-configuration/.babelrc

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const env = require('./env-config.js')
2+
3+
module.exports = {
4+
presets: ['next/babel'],
5+
plugins: [['transform-define', env]]
6+
}

examples/with-universal-configuration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"react-dom": "^16.0.0"
1313
},
1414
"devDependencies": {
15-
"babel-plugin-transform-define": "^1.2.0"
15+
"babel-plugin-transform-define": "^1.3.0"
1616
},
1717
"license": "ISC"
1818
}

0 commit comments

Comments
 (0)