···66pub const PREFETCH_VIEWPORT_PATH: &str =
77 concat!(env!("CARGO_MANIFEST_DIR"), "/js/prefetch/viewport.ts");
8899+// Built paths, we don't use any of those ourselves but they can be useful if someone wants to have a bundler-less Maudit
1010+pub const PREFETCH_BUILT_PATH: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/js/dist/prefetch.js");
1111+pub const PREFETCH_HOVER_BUILT_PATH: &str =
1212+ concat!(env!("CARGO_MANIFEST_DIR"), "/js/dist/prefetch/hover.js");
1313+pub const PREFETCH_TAP_BUILT_PATH: &str =
1414+ concat!(env!("CARGO_MANIFEST_DIR"), "/js/dist/prefetch/tap.js");
1515+pub const PREFETCH_VIEWPORT_BUILT_PATH: &str =
1616+ concat!(env!("CARGO_MANIFEST_DIR"), "/js/dist/prefetch/viewport.js");
1717+918/// Rolldown plugin to handle the maudit:prefetch specifier.
1019/// Importing the actual prefetch.ts file from Maudit's crate is very cumbersome in JS, and TypeScript anyway won't enjoy finding the types there
1120/// As such, this plugin resolves the maudit:prefetch specifier to the actual file path of prefetch.ts in the Maudit crate for the user.