Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sqs committed Jan 7, 2024
1 parent 9d5a427 commit b8c5b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"sideEffects": false,
"scripts": {
"build": "tsc --build && esbuild src/provider/provider.ts --bundle --outfile=dist/provider.js --platform=browser --format=esm --external:node:crypto",
"build": "tsc --build && esbuild src/provider/provider.ts --bundle --outfile=dist/provider.js --platform=browser --format=esm --sourcemap --external:node:crypto --external:fs --external:node:os --define:self=global --loader:.node=file --banner:js=\"const require = (await import('node:module')).createRequire(import.meta.url);const __filename = (await import('node:url')).fileURLToPath(import.meta.url);const __dirname = (await import('node:path')).dirname(__filename);\"",
"test": "vitest",
"create-archive": "node --no-warnings=ExperimentalWarning --experimental-specifier-resolution=node --loader ts-node/esm/transpile-only bin/create-archive.ts",
"create-index": "node --no-warnings=ExperimentalWarning --experimental-specifier-resolution=node --loader ts-node/esm/transpile-only bin/create-index.ts",
Expand Down

0 comments on commit b8c5b29

Please sign in to comment.