wip: first commit

This commit is contained in:
Alexander Navarro 2025-05-01 19:21:41 -04:00
commit 98448060b9
24 changed files with 709 additions and 0 deletions

12
tests/derive_macro.rs Normal file
View file

@ -0,0 +1,12 @@
use vite_manifest::ViteManifest;
#[derive(ViteManifest)]
#[root = "vite-project/dist"]
struct Manifest {}
#[test]
fn root_dir() {
let manifest = Manifest {};
assert_eq!("vite-project/dist", manifest.get_root());
}