- removes the `differentialLoading` build option
- differential loading is always enabled for prod builds
BEFORE (without ESM):
Benchmark #1: nx build demo --prod
Time (mean ± σ): 13.834 s ± 1.731 s [User: 11.817 s, System: 1.352 s]
Range (min … max): 11.947 s … 16.015 s 10 runs
AFTER (with ESM):
Benchmark #1: nx build demo --prod
Time (mean ± σ): 18.711 s ± 1.310 s [User: 12.172 s, System: 1.394 s]
Range (min … max): 17.232 s … 20.770 s 10 runs
* build(nx): update husky and conventional-changelog-cli to latest version
* build(nx): update react and react-dom
update react and react-dom to 16.9.0
update @types/react to 16.9.1
* build(nx): update graphviz to 0.0.9
* build(nx): update express 4.17.1 and @types/express to 4.17.0
* build(nx): update cypress to 3.4.1
- Instead of providing full path to app component, just pass the project's name.
- Updates both app.tsx and main.tsx so user no longer need to do any maual updates.
According to [the Browserslist docs](https://github.com/browserslist/browserslist#queries),
the file should be named `browserslist`. The previous name had a missing
"s" in the middle.
I do not know how `browserslist` is integrated in Nx and the Angular
CLI, but it is possible that the configuration file was being ignored
entirely due to this naming error. When the `browserslist` CLI does not
find a configuration file, it uses a sensible default configuration, so
it would not be obvious that the configuration file was ignored.
The schematics for React and Angular still refer to Angular CLI power-ups.
This also links the generated schematic for an Angular or React application
to their framework-specific pages.
* `--routing` for app, lib, component generates component with default
`<Route>` and `<Link>`
* `--parentRoute` for feature lib adds its routes to the specified
component (by path)
- Added component schematic that adds to existing project.
* Supports CSS-in-JS styles, functional components, etc.
- Lib and app schematics now support new style, funtional components options (same as component)