reworkcss / css

CSS parser / stringifier for Node.js
MIT License
1.58k stars 251 forks source link

#139 error can't resolve 'fs' fix 2 - fs getter #147

Closed IanGrainger closed 3 years ago

IanGrainger commented 3 years ago

Alternative way to guard against fs not found errors when using the module in a browser.

IanGrainger commented 3 years ago

Is there anyone around who can approve this or let me know what needs to change? 🙏

IanGrainger commented 3 years ago

Fix used from here: https://github.com/reworkcss/css/pull/146 - which doesn't require any changes.