From f2176c6238b5e552015c46a6aceb550916f90e21 Mon Sep 17 00:00:00 2001 From: WBHarry <89362246+WBHarry@users.noreply.github.com> Date: Tue, 15 Jul 2025 18:24:04 +0200 Subject: [PATCH] [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 --- .github/workflows/deploy.yml | 2 +- daggerheart.mjs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7dc901df..2c6ec7e9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,7 +37,7 @@ jobs: 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 - - 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 - name: Update Release with Files diff --git a/daggerheart.mjs b/daggerheart.mjs index aeae0dc6..533691f5 100644 --- a/daggerheart.mjs +++ b/daggerheart.mjs @@ -19,6 +19,7 @@ import { import { placeables } from './module/canvas/_module.mjs'; import { registerRollDiceHooks } from './module/dice/dhRoll.mjs'; import { registerDHActorHooks } from './module/documents/actor.mjs'; +import './node_modules/@yaireo/tagify/dist/tagify.css'; Hooks.once('init', () => { CONFIG.DH = SYSTEM;