-
Notifications
You must be signed in to change notification settings - Fork 0
How to Serve Dist and Src to Clients
Wesley B edited this page Feb 20, 2024
·
4 revisions
How to serve built stylesheets and source code to different clients?
high maintenance, thus high barrier to entry
- npm install the source repo
- ⓧ extra steps to test on client using just dist
- fork the source repo
- ⓧ extra steps to test on client using just dist
- ☞ minimal diff
- ☞ un-
.gitignore
the dist
high maintenance, premature overhead
- separate repo
- ⓧ see above
- protected branches
- ⓧ unintuitive maintenance
- ☞ minimal diff
- ☞ un-
.gitignore
the dist
- monorepo
- ⓧ nx, npm workspaces, lerna, etc.
low barrier to entry
- commit both
/src
and/dist
- ⓧ must suffer noisy diffs
- ✓ easy to do and understand
- ✓ easy to replace with future solution