File tree Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 30
30
"access" : " public"
31
31
},
32
32
"devDependencies" : {
33
+ "@rollup/plugin-commonjs" : " ^24.0.1" ,
34
+ "@rollup/plugin-node-resolve" : " ^15.0.1" ,
35
+ "poseidon-lite" : " ^0.1.0" ,
33
36
"rollup-plugin-cleanup" : " ^3.2.1" ,
34
37
"rollup-plugin-typescript2" : " ^0.31.2" ,
35
38
"typedoc" : " ^0.22.11"
38
41
"@ethersproject/bignumber" : " ^5.7.0" ,
39
42
"@ethersproject/bytes" : " ^5.7.0" ,
40
43
"@ethersproject/keccak256" : " ^5.7.0" ,
41
- "@zk-kit/incremental-merkle-tree" : " 1.0.0" ,
42
- "poseidon-lite" : " ^0.1.0"
44
+ "@zk-kit/incremental-merkle-tree" : " 1.0.0"
43
45
}
44
46
}
Original file line number Diff line number Diff line change 1
- import typescript from "rollup-plugin-typescript2"
1
+ import commonjs from "@rollup/plugin-commonjs"
2
+ import { nodeResolve } from "@rollup/plugin-node-resolve"
2
3
import * as fs from "fs"
3
4
import cleanup from "rollup-plugin-cleanup"
5
+ import typescript from "rollup-plugin-typescript2"
4
6
5
7
const pkg = JSON . parse ( fs . readFileSync ( "./package.json" , "utf-8" ) )
6
8
const banner = `/**
@@ -24,6 +26,8 @@ export default {
24
26
tsconfig : "./build.tsconfig.json" ,
25
27
useTsconfigDeclarationDir : true
26
28
} ) ,
29
+ commonjs ( ) ,
30
+ nodeResolve ( ) ,
27
31
cleanup ( { comments : "jsdoc" } )
28
32
]
29
33
}
Original file line number Diff line number Diff line change 30
30
"access" : " public"
31
31
},
32
32
"devDependencies" : {
33
+ "@rollup/plugin-commonjs" : " ^24.0.1" ,
34
+ "@rollup/plugin-node-resolve" : " ^15.0.1" ,
35
+ "poseidon-lite" : " ^0.1.0" ,
33
36
"rollup-plugin-cleanup" : " ^3.2.1" ,
34
37
"rollup-plugin-typescript2" : " ^0.31.2" ,
35
38
"typedoc" : " ^0.22.11"
39
42
"@ethersproject/keccak256" : " ^5.7.0" ,
40
43
"@ethersproject/random" : " ^5.5.1" ,
41
44
"@ethersproject/strings" : " ^5.6.1" ,
42
- "js-sha512" : " ^0.8.0" ,
43
- "poseidon-lite" : " ^0.1.0"
45
+ "js-sha512" : " ^0.8.0"
44
46
}
45
47
}
Original file line number Diff line number Diff line change 1
1
import typescript from "rollup-plugin-typescript2"
2
+ import commonjs from "@rollup/plugin-commonjs"
2
3
import * as fs from "fs"
3
4
import cleanup from "rollup-plugin-cleanup"
5
+ import { nodeResolve } from "@rollup/plugin-node-resolve"
4
6
5
7
const pkg = JSON . parse ( fs . readFileSync ( "./package.json" , "utf-8" ) )
6
8
const banner = `/**
@@ -24,6 +26,8 @@ export default {
24
26
tsconfig : "./build.tsconfig.json" ,
25
27
useTsconfigDeclarationDir : true
26
28
} ) ,
29
+ commonjs ( ) ,
30
+ nodeResolve ( ) ,
27
31
cleanup ( { comments : "jsdoc" } )
28
32
]
29
33
}
Original file line number Diff line number Diff line change 1
- bb37bce3b378d2820f4bd11633208228a7dad658
1
+ 8a53ad57adfd306de30391b075ca50a5689cc257
You can’t perform that action at this time.
0 commit comments