Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

@bubblydoo/esbuild-adobe-protocol-plugin

Tiny reusable esbuild plugin that strips the adobe: protocol from module specifiers and marks them as external.

Example:

  • adobe:photoshop -> photoshop
  • adobe:uxp -> uxp

Install

pnpm add -D @bubblydoo/esbuild-adobe-protocol-plugin

Usage

import { stripAdobeProtocolPlugin } from '@bubblydoo/esbuild-adobe-protocol-plugin';

// esbuild
plugins: [
  stripAdobeProtocolPlugin(),
];

// tsup
esbuildPlugins: [
  stripAdobeProtocolPlugin(),
];