summaryrefslogtreecommitdiff
path: root/vite.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.ts')
-rw-r--r--vite.config.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/vite.config.ts b/vite.config.ts
index 6ec42ad..e7fe7a7 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -25,14 +25,12 @@ export default defineConfig({
rollupOptions: {
// Make sure to externalize deps that shouldn't be bundled
// into your library (e.g., peer dependencies)
- external: ['crypto', 'module', 'bitcoinjs-message'], // Externalize Node built-ins and the core dependency
+ external: ['crypto'], // Externalize Node built-ins
output: {
// Provide global variables to use in the UMD build
// for externalized deps
globals: {
crypto: 'crypto', // Map 'crypto' import to global 'crypto' (Node)
- module: 'module', // Map 'module' import to global 'module' (Node)
- 'bitcoinjs-message': 'bitcoinjsMessage' // Map 'bitcoinjs-message' to global 'bitcoinjsMessage'
},
},
},