diff --git a/examples/gh-pages/.babelrc b/examples/gh-pages/.babelrc deleted file mode 100644 index e1580ad7..00000000 --- a/examples/gh-pages/.babelrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "presets": [ - "next/babel" - ], - "plugins": [ - ["transform-define", "./env-config.js"] - ] -} diff --git a/examples/gh-pages/.babelrc.js b/examples/gh-pages/.babelrc.js new file mode 100644 index 00000000..63418a1e --- /dev/null +++ b/examples/gh-pages/.babelrc.js @@ -0,0 +1,10 @@ +const env = require('./env-config') + +module.exports = { + 'presets': [ + 'next/babel' + ], + 'plugins': [ + ['transform-define', env] + ] +}