hanami / assets-js

esbuild plugin for Hanami Assets
3 stars 5 forks source link

Handle duplicates of external compilations #27

Closed krzykamil closed 7 months ago

krzykamil commented 7 months ago

image Result of compile with fonts nested as on screenshot. My app uses slice assets and no duplicates were created, the test that @timriley wrote does pass.

This is my first experience with TS and the repository so this might be a stupid solution, nevertheless I wanted to have a go at it

krzykamil commented 7 months ago

Used in https://github.com/hanami/assets-js/commit/e98d0fee035790bd4280b4ffd07e1ee3e3f9aaa4