self-host: build vs. dist #1

Open
opened 2024-11-14 17:03:07 +01:00 by julianfoad · 0 comments
Owner

The default build (result in build/) seems to create far more than is needed for a regular HTML server: it includes additional large outputs such as 'compatibility-testing'.

BUILD_MODE=dist (result in dist/) seems to create a broken result, missing files such as index.html and favicon.ico. It also includes .map files which are unnecessary if it is meant to be a production build.

The default build (result in `build/`) seems to create far more than is needed for a regular HTML server: it includes additional large outputs such as 'compatibility-testing'. `BUILD_MODE=dist` (result in `dist/`) seems to create a broken result, missing files such as `index.html` and `favicon.ico`. It also includes .map files which are unnecessary if it is meant to be a production build.
julianfoad changed title from build vs. dist to self-host: build vs. dist 2024-11-14 17:10:46 +01:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: edtech/scratch-gui#1
No description provided.