mirror of https://github.com/linkerd/linkerd2.git
- Switched from `es2015` to `env` for the default preset. This is the recommended preset and allows us to track the latest and greatest moving forward. - Added `react-app` as a preset. We get class properties (and thus => for context) as well as the current recommended settings for react apps. - Created a `web` script that provides functions for common tasks. `react-app` requires that BABEL_ENV/NODE_ENV is set and this guarantees it. - Updated the web dockerfile to set NODE_ENV correctly and use `bin/web`. - Moved the babel related modules over to devDependencies. |
||
---|---|---|
.. | ||
app | ||
srv | ||
templates | ||
util/filesonly | ||
Dockerfile | ||
main.go |