feat: add cdn packages for iife builds

This commit is contained in:
Simon
2026-01-13 20:52:41 +08:00
parent 8b1e91d665
commit 3b21c42cdb
9 changed files with 185 additions and 27 deletions

23
packages/cdn/package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "@page-agent/cdn",
"private": false,
"version": "0.0.21",
"type": "module",
"files": [
"dist/"
],
"description": "CDN builds for page-agent - IIFE bundles for script tag usage",
"author": "Simon<gaomeng1900>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alibaba/page-agent.git"
},
"homepage": "https://alibaba.github.io/page-agent/",
"scripts": {
"build": "vite build && vite build --mode demo"
},
"dependencies": {
"page-agent": "0.0.21"
}
}