Open vorg opened 8 years ago
The example suggest the ES6 module import
import TSNE from 'tsne-js';
Although if I want to use commonjs require i have to do:
//var TSNE = require('tsne-js'); //dowan't work var TSNE = require('tsne-js').default;
yeah, I agree that's a bit annoying - should be fixed with latest v1.0.3!
The example suggest the ES6 module import
Although if I want to use commonjs require i have to do: