A build tool CLI for simplifying and streamlining the build process for internal frontend projects in the Grab Taxi company, speed up build time and optimize performance. Support the Micro Frontend and make the dev experience smoother.
https://docs.google.com/document/d/1vrBsNyWoT91lkBWPt5pkej3dd15VhO8lCYshSjnuIbU
-
Setup @web-platform component registry using a
.npmrcfile. -
Install the package:
npm install @web-platform/build-toolor
yarn add @web-platform/build-toolweb-platform-build-tool <action>- rspack (default)
- webpack
| Action | Description |
|---|---|
build |
Builds the ReactJS app for production |
serve |
Starts the ReactJS app using build folder |
start |
Starts the ReactJS app in developer mode |
- Require to install this
@web-platform/build-toolCLI package in the app first - Run
yarn linkin CLI's root folder - Run
yarn link @web-platform/build-toolin app's root folder to link the package to this local CLI folder