Skip to content

Commit

Permalink
fix(Build): fix iife build after jsonld-signature dep update
Browse files Browse the repository at this point in the history
  • Loading branch information
lemoustachiste committed Dec 9, 2024
1 parent c571611 commit e9bae53
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bundle-esm-stats.html

Large diffs are not rendered by default.

104 changes: 104 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"@decentralized-identity/did-common-typescript": "^0.1.19",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-multi-entry": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.5",
"@types/node": "^20.4.5",
Expand Down
4 changes: 3 additions & 1 deletion rollup.iife.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ import typescript from '@rollup/plugin-typescript';
import builtins from 'rollup-plugin-node-builtins';
import globals from 'rollup-plugin-node-globals';
import polyfills from 'rollup-plugin-polyfill-node';
import multi from '@rollup/plugin-multi-entry';
import { terser } from 'rollup-plugin-terser';

export default {
input: 'src/index.ts',
input: ['src/index.ts', 'node_modules/setimmediate/setImmediate.js'],
output: [
{
file: 'dist/verifier-iife.js',
Expand All @@ -26,6 +27,7 @@ export default {
}),
typescript(),
commonjs(),
multi(),
json(),
globals(),
builtins(),
Expand Down

0 comments on commit e9bae53

Please sign in to comment.