change options for bundle loaders
hooks can take array of objects
improve loaders hooks