https://github.com/quang1225/web-platform-build-tool
This is 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://github.com/quang1225/web-platform-build-tool
babel bundler bundlers cli front-end front-end-development frontend frontend-web microfe module-federation react reactjs rspack webpack webpack5
Last synced: about 2 months ago
JSON representation
This is 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.
- Host: GitHub
- URL: https://github.com/quang1225/web-platform-build-tool
- Owner: quang1225
- Created: 2025-07-03T09:19:50.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-07-20T21:40:19.000Z (11 months ago)
- Last Synced: 2025-07-28T13:01:51.428Z (11 months ago)
- Topics: babel, bundler, bundlers, cli, front-end, front-end-development, frontend, frontend-web, microfe, module-federation, react, reactjs, rspack, webpack, webpack5
- Language: TypeScript
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
## Overview
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.
## RFC
[https://docs.google.com/document/d/1vrBsNyWoT91lkBWPt5pkej3dd15VhO8lCYshSjnuIbU](https://docs.google.com/document/d/1vrBsNyWoT91lkBWPt5pkej3dd15VhO8lCYshSjnuIbU)
## Table of Contents
- [Install](#install)
- [Usage](#usage)
- [Steps for local development](#steps-for-local-development)
## Install
- Setup @web-platform component registry using a `.npmrc` file.
- Install the package:
```bash
npm install @web-platform/build-tool
```
or
```bash
yarn add @web-platform/build-tool
```
## Usage
### Command Structure
```bash
web-platform-build-tool
```
### Supported Bundlers
- rspack (default)
- webpack
### Supported Actions
| 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 |
## Steps for local development
- Require to install this `@web-platform/build-tool` CLI package in the app first
- Run `yarn link` in CLI's root folder
- Run `yarn link @web-platform/build-tool` in app's root folder to link the package to this local CLI folder