Releases: alibaba/beidou
Releases · alibaba/beidou
1.0.0 (2018-03-23)
BREAKING CHANGE
- Node version must >= 8
- React/react-dom versions must >= 16
- Replace
koa-webpack-dev-middleware
withwebpack-dev-server
- all webpack configurations except entry are available in
configs#webpack
option, see default config - Move custom webpack config file path to
webpack.custom.configPath
, see configuration - Custom webpack config file api, see custom webpack configuration
- all webpack configurations except entry are available in
- Remove
app.helper.resolveResource
, useapp.helper.asset
instead
Features
- Upgrade to egg@2, support async/await style middlewares
- All in one manage tool - beidou-cli, including init boilerplate, development, debug, test, build assets, start/stop production app, and so on.
- Custom view rendering process by view middlewares
- Support rax isomorphic rendering, see beidou-view-rax
- Webpack support many frontend resource loaders, see code
- Webpack support CSS Modules with
.module.{css|scss|less}
files - Dump webpack config to
[root]/run
directory - Custom babel client targets by configuration
- Handle many reasonable default configs, you may not need a lot of options in your config files, see examples