Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 757 Bytes

File metadata and controls

46 lines (28 loc) · 757 Bytes

wp5-multiple-endpoints

A monorepo structure with :

  • 1 shared core package with webpack configs & React client / SSR bootstrap
  • 1 package with some api service, inheriting the core
  • 1 package with some www service, inheriting the core

setup

NPM will call lpack-setup at postinstall which will install core layer

  • From endpoints layers ( not the core )
npm i

Run in dev mode

copy/add/delete js & scss files will automatically trigger watch & updates glob includes

From the endpoints directories :

npm run dev

Browser can then open http://127.0.0.1:8080/

Run in prod mode

npm run run

Build & run in prod

npm run build
npm run run

Browser can then open http://127.0.0.1:8080/