Use the buildModuleUrl for external resources in the widget.