Fix: Resolve 500 error by building package assets in Docker
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m4s

- Added missing dependencies to root package.json for sub-package builds.
- Renamed Admin/tailwind.config.js to .cjs to fix ESM/CJS build conflict.
- Updated Dockerfile to run Vite build for Admin, Installer, and WebForm packages.
This commit is contained in:
Cauê Faleiros
2026-02-04 12:01:07 -03:00
parent 564da06e67
commit 2d12674d63
3 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,49 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/Resources/**/*.blade.php", "./src/Resources/**/*.js"],
theme: {
container: {
center: true,
screens: {
"4xl": "1920px",
},
padding: {
DEFAULT: "16px",
},
},
screens: {
sm: "525px",
md: "768px",
lg: "1024px",
xl: "1240px",
"2xl": "1440px",
"3xl": "1680px",
"4xl": "1920px",
},
extend: {
colors: {
brandColor: "var(--brand-color)",
},
fontFamily: {
inter: ['Inter'],
icon: ['icomoon']
}
},
},
darkMode: 'class',
plugins: [],
safelist: [
{
pattern: /icon-/,
}
]
};