You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zshy Asset Handling Guide - How to include custom files (LICENSE, README, JSON, proto, ABI) in TypeScript packages
zshy Asset Handling Guide
⚠️IMPORTANT: zshy is NOT a bundler - it copies assets but does NOT transform them into JavaScript modules. Assets remain as separate files that must be accessed at runtime.
Overview
zshy automatically handles non-JavaScript assets and copies them to the output directory during builds. This feature enables including custom files like LICENSE, README.md, Protocol Buffer definitions, Ethereum ABIs, and other artifacts in your TypeScript packages without additional configuration.
Key Concept: zshy detects imported assets and copies them to the output directory, but does not make them available as JavaScript modules. The assets remain as separate files that you access at runtime.