Tiny reusable esbuild plugin that strips the adobe: protocol from module specifiers and marks them as external.
Example:
adobe:photoshop->photoshopadobe:uxp->uxp
pnpm add -D @bubblydoo/esbuild-adobe-protocol-pluginimport { stripAdobeProtocolPlugin } from '@bubblydoo/esbuild-adobe-protocol-plugin';
// esbuild
plugins: [
stripAdobeProtocolPlugin(),
];
// tsup
esbuildPlugins: [
stripAdobeProtocolPlugin(),
];