The issue: CSS was in dist/styles/ but FoundryVTT expects module CSS
at the root level or in a standard location.
Changes:
- Build CSS to styles/scrying-pool.css (root level) instead of dist/styles/
- Update module.json to reference styles/scrying-pool.css
- Update .gitignore to track styles/scrying-pool.css
- Update build script in package.json
This ensures FoundryVTT can find and load the CSS file properly in live sessions.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Added 'postinstall': 'npm run build' to package.json
- This ensures CSS is automatically rebuilt when dependencies are installed
- Provides better developer experience and ensures CSS is always up-to-date
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>