From 49af1ab18da02f09e65506c873526c40d005c4ed Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 7 Feb 2023 22:09:50 +0100 Subject: refactor: remove prefix from include_js_files & use extension name (#17683) --- ext/console/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ext/console/lib.rs') 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() } -- cgit v1.2.3