comprehensive-tomatoC
Refine3y ago
3 replies
comprehensive-tomato

Default access-control-casbin with next.js give warning of critical dependency

After integrating casbin with refine next.js project, I follow through boiler template but with next.js

warn - ./node_modules/casbin/lib/esm/index.js Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
Screenshot_2566-02-20_at_14.22.17.png
Screenshot_2566-02-20_at_14.28.23.png
Screenshot_2566-02-20_at_14.27.57.png
Was this page helpful?