Closed imp2002 closed 1 year ago
Fix: #270 Fix: #268
Because node-casbin is not for brower, there are some functions(fs, path .etc) dependent Node cause many problem such as #270, #268, when in webpack5 and vite no Node polyfill, replace node-casbin with casbin-core to fix it.
node-casbin
fs, path .etc
Node
webpack5
vite
Node polyfill
casbin-core
@nodece @Zxilly @Shivansh-yadav13 please review
@imp2002 fix CI:
Fix: #270 Fix: #268
Because
node-casbin
is not for brower, there are some functions(fs, path .etc
) dependentNode
cause many problem such as #270, #268, when inwebpack5
andvite
noNode polyfill
, replacenode-casbin
withcasbin-core
to fix it.