Use correct externals and globals for webgl bundle (#5417)
Use correct externals and globals for webgl bundle (#5417)

* Use correct externals and globals for webgl bundle

* Bazel lint

Co-authored-by: Na Li <7745f56bc52a535a5baf30af5c8f76a1b36b8769@google.com>
tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs,tensorflow/tfjs