mirror of
https://github.com/zhigang1992/esbuild.git
synced 2026-04-30 10:22:49 +08:00
validate absolute paths from plugins in "file" ns
This commit is contained in:
@@ -814,9 +814,6 @@ func (impl *pluginImpl) OnResolve(options OnResolveOptions, callback func(OnReso
|
||||
return
|
||||
}
|
||||
|
||||
if response.Namespace == "" {
|
||||
response.Namespace = "file"
|
||||
}
|
||||
result.Path = logger.Path{Text: response.Path, Namespace: response.Namespace}
|
||||
result.External = response.External
|
||||
|
||||
|
||||
Reference in New Issue
Block a user