This commit is contained in:
2025-06-21 17:07:49 +08:00
parent ebe7c9afce
commit d5c2964e0e
3 changed files with 10 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import path from 'path';
const rp = (resolvePath) => {
return path.resolve(process.cwd(), resolvePath);
};
const external = ['jsdom']
// bun run src/index.ts --
await Bun.build({
target: 'node',
@@ -16,6 +17,7 @@ await Bun.build({
naming: {
entry: 'app.mjs',
},
external: external,
define: {
VERSION: JSON.stringify(pkg.version),

View File

@@ -1,6 +1,6 @@
{
"name": "@kevisual/xhs-core",
"version": "0.0.3",
"version": "0.0.4",
"description": "",
"main": "dist/app.mjs",
"types": "dist/app.d.ts",