diff options
Diffstat (limited to 'cli/ast')
| -rw-r--r-- | cli/ast/bundle_hook.rs | 8 | ||||
| -rw-r--r-- | cli/ast/mod.rs | 16 | ||||
| -rw-r--r-- | cli/ast/transforms.rs | 3 |
3 files changed, 13 insertions, 14 deletions
diff --git a/cli/ast/bundle_hook.rs b/cli/ast/bundle_hook.rs index 8e5b56c32..6b29bd8dd 100644 --- a/cli/ast/bundle_hook.rs +++ b/cli/ast/bundle_hook.rs @@ -14,18 +14,12 @@ impl Hook for BundleHook { ) -> Result<Vec<deno_ast::swc::ast::KeyValueProp>, AnyError> { use deno_ast::swc::ast; - // we use custom file names, and swc "wraps" these in `<` and `>` so, we - // want to strip those back out. - let mut value = module_record.file_name.to_string(); - value.pop(); - value.remove(0); - Ok(vec