trunk-rs/trunk

Explore the usage of manganis for assets

Open

#759 opened on Apr 4, 2024

 (12 comments) (0 reactions) (0 assignees)Rust (315 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (4,347 stars)
PR merge metrics
 (PR metrics pending)

Description

Coming from a discussion on https://github.com/trunk-rs/trunk/issues/710 this issue tracks the idea of using manganis for assets.

I think there are three levels of integration possible:

  1. Through trunk's hook system
  2. By having trunk call some external CLI
  3. By having trunk use a crate doing the processing

I think we should start with 1, and see how that works.

There was also the idea of trunk having a WebAssembly based extension system. It might be that this could be a use case for this. But this would also mean some bigger effort. Just mentioning this here to not forget about it.

Contributor guide