mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
016920e3e0
* Git ignore with-reasonml/lib folder The lib folder contains code generated by BuckleScript, it shouldn't be versioned. * Fix, case sensitive paths Next.js use case-sensitive-paths-webpack-plugin and BuckleScript tries to maintain the filename case. * Refactor, use a .babelrc file instead of a babel config in package.json This is the official recommended way in Next.js * Enable way, way, waaaay nicer error messages! Adds `"bsc-flags": ["-bs-super-errors"]` to the bsconfig.json file. https://reasonml.github.io/community/blog/#way-way-waaaay-nicer-error-messages * Fix npm scripts & use concurrently to run bsb & next in parallel for dev * Upgrade bs-platform * Replace statefulComponent with new reducerComponent https://github.com/reasonml/reason-react/blob/master/HISTORY.md#024 * Upgrade with-reasonml example to next.js 3
4 lines
82 B
JavaScript
4 lines
82 B
JavaScript
import { jsComponent as Index } from './Index.re'
|
|
|
|
export default () => <Index />
|