I’m creating some custom widgets that don’t require any JavaScript or CSS resources (they actually do, but these custom widgets are template dependent so I include their resources in with the template directly). I won’t be using these widgets indepdent of my template.
But even though I did not select any resources via the Resources Tab under the Widget Builder, it’s still creating and adding links to the widget’s css and js files in the HTML?
It’s like you guys are creating blank CSS and blank JS files no matter what for any custom widget and including them in the rendered HTML… Shouldn’t you guys be testing to see if any resources are attached for the widget? If no resources are attached, don’t generate the link tags for empty files…