Added check wether bundle has commonjs files - if not it will be not wrapped with commonjs wrapper.