thuliteio / inline-svg

Official inline SVG integration for Thulite
MIT License
0 stars 1 forks source link

Tabler Icons are missed after update.... #4

Open cnichte opened 8 months ago

cnichte commented 8 months ago

Description

Tabler Icons updated to 3.0.0, and then...

npm run build

WARN  Could not find src 'coffee'.
WARN  Could not find src 'alert-triangle'.
WARN  Could not find src 'info-circle'.
WARN  Could not find src 'alert-octagon'.
WARN  Could not find src 'rocket'.

Now Icons missing in callouts.

Environment

Paste the information here as shown by npm run info

{ npm: '10.2.4', node: '21.5.0', acorn: '8.11.2', ada: '2.7.4', ares: '1.24.0', base64: '0.5.1', brotli: '1.1.0', cjs_module_lexer: '1.2.2', cldr: '43.1', icu: '73.2', llhttp: '9.1.3', modules: '120', napi: '9', nghttp2: '1.58.0', openssl: '3.2.0', simdjson: '3.6.2', simdutf: '4.0.4', tz: '2023c', undici: '5.28.2', unicode: '15.0', uv: '1.47.0', uvwasi: '0.0.19', v8: '11.8.172.17-node.18', zlib: '1.2.12' }

npm list

├── @hyas/doks-core@1.4.1 ├── @hyas/images@3.1.0 ├── @hyas/inline-svg@1.0.5 ├── @hyas/seo@2.1.0 ├── @tabler/icons@3.0.0 ├── exec-bin@1.0.0 ├── gethyas@2.2.2 ├── hugo-installer@4.0.1 ├── linkinator@6.0.4 ├── longform-markdown-splitter@1.2.7 ├── shx@0.3.4 └── typescript@5.4.2

h-enk commented 8 months ago

Backward compatibility through aliases doesn't seem to be working.

Use the new syntax:

{{< inline-svg "outline/boom" >}}
{{< inline-svg "filled/boom" >}}

Snag_14f01769

I will be looking into it further w/ Inline SVG 1.1