Issue: ESM compatibility – eliminate hard dependency on Node.js fs module
Issue: ESM compatibility – eliminate hard dependency on Node.js fs module: a task in LegoFlow-SWE (Harbor dataset). When using casbin in a Next.js project (or any environment that bundles with webpack in ESM mode), the following warning appears:
The task
When using casbin in a Next.js project (or any environment that bundles with webpack in ESM mode), the following warning appears:
Part of Lego-X/LegoFlow-SWE.