trunk-rs/trunk

Explore the usage of manganis for assets

开放

#759 创建于 2024年4月4日

 (12 条评论) (0 个反应) (0 位负责人)Rust (315 个派生)auto 404
enhancementhelp wanted

仓库指标

星标
 (4,347 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南