I am trying to run the ddfCsvReader on the server per the documentation:
const Vizabi = require('vizabi');
const ddfCsvReader = require('vizabi-ddfcsv-reader');
const readerObject = ddfCsvReader.getDDFCsvReaderObject();
Vizabi.Reader.extend('ddf-csv-reader', readerObject);
This gives me "d3 not found". So I simplify to:
const ddfCsvReader = require('vizabi-ddfcsv-reader');
const readerObject = ddfCsvReader.getDDFCsvReaderObject();
This works after building node_modules/vizabi-ddfcsv-reader.
(Note: The build works but gives some errors "ERROR in Entry module not found: Error: Can't resolve './src'")
Would be super helpful if you could update the example and the built version.
Thank you :)