@zenfs/core
Advanced tools
Comparing version 0.5.9 to 0.5.10
{ | ||
"name": "@zenfs/core", | ||
"version": "0.5.9", | ||
"version": "0.5.10", | ||
"description": "A filesystem in your browser", | ||
@@ -49,3 +49,3 @@ "main": "dist/index.js", | ||
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest", | ||
"build": "node scripts/build.js --globalName=ZenFS src/index.ts", | ||
"build": "node scripts/build.js --globalName=ZenFS --entry src/index.ts", | ||
"build:docs": "typedoc --out docs --name ZenFS src/index.ts", | ||
@@ -52,0 +52,0 @@ "dev": "npm run build -- --watch", |
@@ -10,6 +10,3 @@ #!/usr/bin/env node | ||
const { | ||
values: { watch, keep, quiet, globalName }, | ||
positionals: entryPoints, | ||
} = parseArgs({ | ||
const { watch, keep, quiet, globalName, entry } = parseArgs({ | ||
options: { | ||
@@ -20,6 +17,7 @@ watch: { short: 'w', type: 'boolean', default: false }, | ||
globalName: { type: 'string' }, | ||
entry: { type: 'string' }, | ||
}, | ||
strict: false, | ||
allowPositionals: true, | ||
}); | ||
}).values; | ||
@@ -47,3 +45,3 @@ async function exportsOf(name) { | ||
const config = { | ||
entryPoints, | ||
entryPoints: [entry], | ||
target: 'esnext', | ||
@@ -50,0 +48,0 @@ globalName, |
1483364
11435