chore(build): remove obsolete downloaded JS bundles and update Dockerfile
Remove minified JavaScript libraries that were previously downloaded during postinstall (htmx.min.js, highlight.min.js, lunr.min.js, lunr-flex.min.js). These are now bundled via esbuild from npm packages. Update Dockerfile to remove the now-unnecessary postinstall npm script execution, streamlining the container build process.
This commit is contained in:
@@ -30,7 +30,6 @@ RUN cd templates && templ generate
|
|||||||
|
|
||||||
# Build frontend assets (only these rebuild on web/ changes)
|
# Build frontend assets (only these rebuild on web/ changes)
|
||||||
RUN npm run build:css:prod
|
RUN npm run build:css:prod
|
||||||
RUN npm run postinstall
|
|
||||||
RUN npm run build:ts
|
RUN npm run build:ts
|
||||||
|
|
||||||
# Build Go binary (cached unless Go files or generated code changes)
|
# Build Go binary (cached unless Go files or generated code changes)
|
||||||
|
|||||||
Vendored
-8426
File diff suppressed because it is too large
Load Diff
Vendored
-3382
File diff suppressed because it is too large
Load Diff
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
Failed to fetch version info for lunr-flex.
|
|
||||||
Vendored
-1570
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user