Macro deno_core::include_js_files [−][src]
macro_rules! include_js_files {
(prefix $prefix : literal, $($file : literal,) +) => { ... };
}
Expand description
Helps embed JS files in an extension. Returns Vec<(&’static str, Box
Example:
ⓘ
include_js_files!(
prefix "deno:extensions/hello",
"01_hello.js",
"02_goodbye.js",
)