Vite does not allow multiple entry points with umd/iife output formats. Switching to es+cjs enables the private/ sub-package build. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 行
586 B
JSON
23 行
586 B
JSON
{
|
|
"name": "@xuqm-private/h5-sdk",
|
|
"version": "0.2.0",
|
|
"description": "XuqmGroup H5 Private SDK — for private deployment environments",
|
|
"private": false,
|
|
"publishConfig": {
|
|
"registry": "https://nexus.xuqinmin.com/repository/npm-hosted/"
|
|
},
|
|
"main": "dist/private/index.cjs.js",
|
|
"module": "dist/private/index.es.js",
|
|
"types": "dist/private/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/private/index.d.ts",
|
|
"import": "./dist/private/index.es.js",
|
|
"require": "./dist/private/index.cjs.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist/private"
|
|
]
|
|
}
|