[Fix] Include Tagify.css file (#353)

* Added tagify.css to the deploy script

* Added tagify.css as a static css file

* Delete styles/tagify.css

* Fix

* Merge fix

* Fixed path
This commit is contained in:
WBHarry 2025-07-15 18:24:04 +02:00 committed by GitHub
parent 3c40e2d60b
commit f2176c6238
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -37,7 +37,7 @@ jobs:
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/system.zip download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/system.zip
# Create a zip file with all files required by the module to add to the release # Create a zip file with all files required by the module to add to the release
- run: zip -r ./system.zip system.json README.md LICENSE build/daggerheart.js build/tagify.css assets/ templates/ styles/daggerheart.css packs/ lang/ - run: zip -r ./system.zip system.json README.md LICENSE build/daggerheart.js build/tagify.css styles/daggerheart.css assets/ templates/ packs/ lang/
# Create a release for this specific version # Create a release for this specific version
- name: Update Release with Files - name: Update Release with Files

View file

@ -19,6 +19,7 @@ import {
import { placeables } from './module/canvas/_module.mjs'; import { placeables } from './module/canvas/_module.mjs';
import { registerRollDiceHooks } from './module/dice/dhRoll.mjs'; import { registerRollDiceHooks } from './module/dice/dhRoll.mjs';
import { registerDHActorHooks } from './module/documents/actor.mjs'; import { registerDHActorHooks } from './module/documents/actor.mjs';
import './node_modules/@yaireo/tagify/dist/tagify.css';
Hooks.once('init', () => { Hooks.once('init', () => {
CONFIG.DH = SYSTEM; CONFIG.DH = SYSTEM;