We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e472a1 commit 42d4951Copy full SHA for 42d4951
internal/plugin/bundless.go
@@ -173,7 +173,7 @@ var Bundless = esbuild.Plugin{
173
174
if newPath != "" {
175
result.Path = newPath
176
- } else if strings.HasPrefix(result.Path, root) {
+ } else if result.External && strings.HasPrefix(result.Path, root) {
177
result.Path = strings.TrimPrefix(result.Path, root)
178
}
179
internal/plugin/css.go
@@ -17,7 +17,7 @@ var Css = esbuild.Plugin{
17
18
build.OnLoad(esbuild.OnLoadOptions{Filter: `\.css$`},
19
func(args esbuild.OnLoadArgs) (esbuild.OnLoadResult, error) {
20
- // pp.Println("[6] filter(.css$)", args)
+ // pp.Println("[cssPlugin.onLoad] args:", args)
21
22
var pluginData types.PluginData
23
if args.PluginData != nil {
0 commit comments