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/webgpu/src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ext/webgpu/src/lib.rs') diff --git a/ext/webgpu/src/lib.rs b/ext/webgpu/src/lib.rs index 83326b71a..68069c133 100644 --- a/ext/webgpu/src/lib.rs +++ b/ext/webgpu/src/lib.rs @@ -119,11 +119,7 @@ impl Resource for WebGpuQuerySet { pub fn init(unstable: bool) -> Extension { Extension::builder(env!("CARGO_PKG_NAME")) .dependencies(vec!["deno_webidl", "deno_web"]) - .esm(include_js_files!( - prefix "internal:ext/webgpu", - "01_webgpu.js", - "02_idl_types.js", - )) + .esm(include_js_files!("01_webgpu.js", "02_idl_types.js",)) .ops(declare_webgpu_ops()) .state(move |state| { // TODO: check & possibly streamline this -- cgit v1.2.3