hunghvu / hungvu.tech

The official repository for hungvu.tech
https://hungvu.tech
3 stars 0 forks source link

Fail to access admin dashboard due to polyfill issue #131

Closed hunghvu closed 8 months ago

hunghvu commented 8 months ago

The OpenWRT cronjob uses os, util, fs, and process, and they can't be polyfill. However, this is mainly due to a bad design, in which Payload uses the same config file for server and client services.

The best solution is to go back to Webpack bundler because the Vite polyfill approach is not straightforward.