→ Example of update from 0.7 to 0.8
- Changed: use
react-router
basename feature.
All urls in collection do not contain base pathname anymore and
all url in markdown or component should not have it anymore
(#165) - Changed: build script now require an
exports
value
that must contains path tolayouts
,metadata
androutes
.
This values should be strings.
See changes inboilerplate/scripts/build.js
(#145) - Fixed: Redux devtools don't cause invalid checksum anymore
(#152) - Fixed: Homepage url is not prerendered as
//
if you don't have a pathname
in your base url (package.json/homepage
)
(#104) - Fixed: ability to pass custom webpack devServer config
(#157) - Added: Intercept clicks on markdown links so they will not trigger
full page reload
(#67) - Added: Generate meta description and bundle it to collection
Seeboilerplate/web_modules/layouts/Page/index.js
for an example.
(#79) - Added: cli option to server static dist build
npm run build -- --server
(#163) - Added: during development for pre-rendering, dev server will refresh
all files for each render
(#145) - Added: custom routes are supported if you use a
route
field in your
markdown front matter.
See example inboilerplate/content/404.md
(#47) - Added: hot loading support for markdown content.
See changes inboilerplate/scripts/index-client.js
(#11) - Added: boilerplate now enable source maps by default during development.
See changes inboilerplate/scripts/webpack.config.babel.js
(#170)
Under the hood
- Changed: codecov is used for code coverage instead of coverall.