bundler.transform need to be called after bundler is created

haven't got time to test but this fixes people who need transforms