Files
self e3fb9937d2 fix: bundle sender assets for plugin script loading
Build Sender TypeScript through esbuild as an IIFE so host plugin asset tags can load it as a classic script, and suppress noisy host Ash domain warnings during dev compilation.
2026-05-27 16:19:18 +02:00

17 lines
559 B
JSON

{
"name": "sender-assets",
"private": true,
"version": "0.1.0",
"scripts": {
"build": "npm run check && mkdir -p ../priv/static/vendor/videojs && cp -r css/. ../priv/static && cp -r node_modules/@videojs/html/cdn/. ../priv/static/vendor/videojs && esbuild ts/sender.ts --bundle --target=es2022 --format=iife --outfile=../priv/static/sender.js",
"check": "tsc --project tsconfig.json --noEmit"
},
"dependencies": {
"@videojs/html": "10.0.0-beta.23"
},
"devDependencies": {
"esbuild": "^0.28.0",
"typescript": "^6.0.3"
}
}