* 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
* 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
* Define dependencies & NPM stuff for the example
* Setup Babel preset
* Add sources of working version of example
* Indicate ajax loading state
* Add readme file
* Remove unneeded .babelrc
* Corrected dependencies for the preact example. Require react and react-dom
* Corrected dependencies for the inferno example. Require react and react-dom
* Add withRoute HOC
Rebased (squashed)
- removed routerToProps
- updated hoist-non-react-statics
- improved propTypes
* Expose the whole Router instead of the route.
* Make the example simple.
* Update examples and the readme.
* Add a test case.
* Add examples/with-redux-code-splitting. (#2721)
* #1757 Relay Modern Example (#2696)
* Add ReasonML example (#2640)
* Add ReasonML example
* Add a gitignore specifically for the reasonml example
* Allow custom className for <Main /> (#2802)
* 3.0.2
* Remove beta information from the README.
* 3.0.3
* Remove unnecessary lookup in example with emotion (#2731)
* Document SCSS/Less (#2742)
* Document SCSS/Less
* Add missing word
* Add docs for examples dir
* Add extra example
* uppercase J
* Add with pkg example (#2751)
* Add custom server micro example (#2750)
* Ease running multiple examples at the same time with process.env.PORT (#2753)
* Add line-height rule for error page h2 (#2761)
* Add support for fetching multiple translation files (#2743)
* Add support for fetching multiple translation files
* Cleanup
* Clear missed interval (#2611)
* clear missed interval
* remove trailing whitespace
* Relay Modern Example (#1757) (#2773)
* Simplification of Relay Modern Example (#1757) (#2776)
* Use deterministic names for dynamic import (#2788)
* Always use the same name for the same dynamic import.
* Add unit tests for the modulePath generation.
* Allow tests to run correctly on Windows.
* Make the chunk name a bit pretty.
* Fix tests to run on Windows.
* 3.0.4
* Revert "Make the chunk name a bit pretty." (#2792)
This reverts commit 0c9e8cf2271955e74ab9f752b5869b98c1dc60f9.
* 3.0.5
* Use _ as the divider for dynamic import name splitter. (#2793)
Using - gives us some weird webpack errors.
* 3.0.6
* next/dynamic Error Message Tweaks (#2798)
* Fixed issue (#2804)
https://github.com/zeit/next.js/issues/2800
* docs(material-ui): move the source code to Material-UI repository (#2808)
* Add Electron usage example
* Remove the deploy part
* Only allow GET request to our HTTP server
* Only allow request from an electron app (checking the user agent)
* Add warning about the local HTTP server
* Update package.json
* Update example to use Next.js v3
* Added required package.json fields with placeholders
* Use next:// file protocol to open internal built files
* Create next.config.js
* Update set-menu.js
* Update example to merge it with electron-next-skeleton ideas
* Rename Firebase Auth example
* Update gitignore to include npm5 lockfile
* Cloud Function
* Add Next app with two pages to demonstrate navigation
* Add Firebase Hosting and configuration to Host & Deploy
* Fix errors in rename for firebase-auth example
* Recommend pkg managers with caches for better perf
* Update with-firebase-hosting example
Fix code
* Update with-firebase-hosting example
Fix npm scripts and package.json files
* Update with-firebase-hosting example
Update README & install scripts
* Update with-firebase-hosting example
Update example package name
* Update with-firebase-hosting example
Fix to use single-quotes
* Update with-firebase-hosting example
VSCode did not like single-quotes! Sorry
* Fix gitignore file
By creating an intermediary component (with the HOC)
we save some React rendering logic.
That's also addressing an issue with JssProvider (react-jss)
that generate a new index at each render.
* Added react and react-dom dependencies
Added missing `react` and `react-dom` dependencies which are required by next.js
* Moved react & react-dom to dependencies
Moved react & react-dom to dependencies from devDependencies
* Fixed: css-modules reload files styles.css.json.
* update: disable uglify for next build.
add: require('fs') for next build.
add: disable uglify on next.config.js for next build.
* Fix linting errors
* feat: Add react-uwp examples
* fix: remove log from ThemeWrapper
* feat: Add README.md
* fix: Fixed right version
* fix: Use JavaScript Standard Style
* fix: Fixed wrong next version