Hi All,
Can someone please share how to read a local file? None of the older examples seem to work.
Neither
import { readFileSync } from 'fs';
nor
var fs = require('fs');
are working for me.
My intention is to build this into a browser-only app, so that rules Cordova out.
For reference, here’s an example of it working in the past.
Thanks,
Ryan