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
11 lines
217 B
JSON
11 lines
217 B
JSON
{
|
|
"name": "with-reasonml",
|
|
"sources": ["components", "pages"],
|
|
"bs-dependencies": ["reason-react"],
|
|
"reason": { "react-jsx": 2 },
|
|
"package-specs": ["commonjs"],
|
|
"bsc-flags": [
|
|
"-bs-super-errors"
|
|
]
|
|
}
|