This PR reworks asset handling in our vite plugin. Importing assets in js is now supported.
6 lines
119 B
TypeScript
6 lines
119 B
TypeScript
import logo from "../../assets/deno-logo.png";
|
|
|
|
export function IslandAssets() {
|
|
return <img src={logo} alt="" />;
|
|
}
|