Commit 93934404 authored by jwalter's avatar jwalter Committed by Guillermo Rauch

Remove babelrc from preact example doc (#1583)

The mentioned .babelrc usage is not needed for using preact with Next anymore. The actual code change was merged in (#1194)
parent 6ab3e660
...@@ -29,5 +29,4 @@ This example uses [Preact](https://github.com/developit/preact) instead of React ...@@ -29,5 +29,4 @@ This example uses [Preact](https://github.com/developit/preact) instead of React
Here's how we did it: Here's how we did it:
* Create `.babelrc` file with es2015 and react presets. This allow us to get rid of the hard coded React dependency for core Next.js modules.
* Use `next.config.js` to customize our webpack config to support [preact-compat](https://github.com/developit/preact-compat) * Use `next.config.js` to customize our webpack config to support [preact-compat](https://github.com/developit/preact-compat)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment