mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-10-27 07:20:27 +01:00
feat: Implement frontend asset build process and update Docker configuration
- Added a new build script using esbuild to bundle JavaScript and CSS assets, including Tailwind CSS and Font Awesome. - Updated the Dockerfile to include a multi-stage build process for frontend assets, ensuring efficient image creation. - Enhanced GitHub workflows to automate the installation of Node.js dependencies and build frontend assets during CI/CD. - Introduced a .gitignore entry for the dist directory to prevent unnecessary files from being tracked. - Improved caching and content type handling for static files served by the application.
This commit is contained in:
1 parent
405b2e605e
commit
fde60b7d68
30 files changed
+2556
-241
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "gomft",
|
||||
"version": "1.0.0",
|
||||
"description": "GoMFT static assets bundling",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "node build.js",
|
||||
"watch": "node build.js --watch",
|
||||
"postinstall": "npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.4.0",
|
||||
"alpinejs": "^3.13.5",
|
||||
"esbuild": "^0.20.1",
|
||||
"flowbite": "^2.2.1",
|
||||
"htmx.org": "^1.9.10",
|
||||
"tailwindcss": "^3.4.1"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user