Remove tf package from the bundle
chaosmail opened this issue · comments
Christoph Koerner commented
Currently tf
is bundled into this package. However it should be loaded separately.
Other packages do this using the browserify-shim
as a global transformation, see https://github.com/tensorflow/tfjs-models/blob/master/mobilenet/package.json#L34
Christoph Koerner commented
Another interesting option for plugins would be using rollup instead of browserify. https://github.com/tensorflow/tfjs-models/pull/15/files