summaryrefslogtreecommitdiff
path: root/ext/console/lib.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-02-07 22:09:50 +0100
committerGitHub <noreply@github.com>2023-02-07 21:09:50 +0000
commit49af1ab18da02f09e65506c873526c40d005c4ed (patch)
tree0d8f6028e98907096019500a7e1c717408eeb4e2 /ext/console/lib.rs
parentb4aa1530970f7b9cc4e6f2f27e077852c4e178d3 (diff)
refactor: remove prefix from include_js_files & use extension name (#17683)
Diffstat (limited to 'ext/console/lib.rs')
-rw-r--r--ext/console/lib.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/console/lib.rs b/ext/console/lib.rs
index 31ec884c1..158a1a05e 100644
--- a/ext/console/lib.rs
+++ b/ext/console/lib.rs
@@ -6,11 +6,7 @@ use std::path::PathBuf;
pub fn init() -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
- .esm(include_js_files!(
- prefix "internal:ext/console",
- "01_colors.js",
- "02_console.js",
- ))
+ .esm(include_js_files!("01_colors.js", "02_console.js",))
.build()
}