Only assign plugin-specific config when module being loaded is a plugin-based resource, not a plugin module itself.
Fix minor typo.
Build dist versions.