css – How to control CSS loading using Javascript?

The RequireJS plugin is able to control the import of scripts without the need to specify them in the html with the tag