Closed rvt closed 2 years ago
I'm guessing that TextFile and TextFileSync should not be used in the browser as they are for reading the file system. Check you're not importing them anywhere in your code. If you're not, then perhaps you have an over-enthusiastic compiler that is attempting to transform everything in the library?
Okie dokie, I think I can add an exclude for these files... thanks!
I have been trying to add lowdb in a rollup web project based on open-wc with typescript and I am getting this as soon as my page loads (compilation is fine...)
In my project I have something like this: