Skip to content

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.

Notifications You must be signed in to change notification settings

quang1225/web-platform-build-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Table of Contents

Install

  • Setup @web-platform component registry using a .npmrc file.

  • Install the package:

npm install @web-platform/build-tool

or

yarn add @web-platform/build-tool

Usage

Command Structure

web-platform-build-tool <action>

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

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published