This drops a few kb off of the production min+gz build due to the remove of the component and a ew dependencies that it references, ansi-html being the biggest.
* Make styled-jsx configurable
* Add styled-jsx-plugin-postcss example
* Add styled-jsx 2.1.0 with plugins support
* Move examples around and add description
* Add link to new example
* Update babel-preset.js
As './dist/server/build/babel/preset' now return a function, in this example we need to first call the function and after that replace styled-jsx
* linting issues solved
* don't fetch messages server-side if user is not found
Currently, the component always fetch everything under '/messages' even if the user is not authenticated on the server side. Update it to not fetch if the user is not found as a better example on handling.
* fix lint error
* emotion v8 + adjustments for breaking changes
* Corrected versioning
* Take hydrate from 'react-emotion'
I was actually wondering that, but haven't seen hydrate in the medium post (even though you pointed out that react-emotion exports all of emotion and I've seen it in source) and didn't want to risk it for the off chance that it *should* be imported directly from emotion for some reason :D
* Configurable opts for babel-preset-env + babel-plugin-transform-runtime
This adds `preset-env` and `transform-runtime` options to the
`next/babel` Babel preset, which are then passed through to those
presets and transforms. This allows configuration to keep next.js
from the default 'maximum' transform, and instead use built-in
implementations of globals, classes, async, and other commonly-supported
features.
Fixes#2989
* Use spread notation instead of Object.assign
* allow use of filenames in exportPathMap
* add link test and handling for file paths when flattening links for export
* add note about exporting file paths to readme.md
* 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