vite-static 0.4.0

Embed Vite chunks into your Rust application and query them individually.
Documentation
1
2
3
4
5
6
7
8
import * as shared from "./shared.js";

import "./assets/entry2.css";

console.log("Hello from entry2.js!");

// Shared function test
console.log(shared.foo("baz from entry2"));