I decided to bundle my uxp plugin with esbuild, but I am unable to get past this error,
Error: Cannot find module 'uxp'
The code errors at this line:
const g_entrypoints_o = require("uxp").entrypoints;
I tried RequireJS but it did not solve my issue. What else can I try?