build(web): fix cjs build
This commit is contained in:
parent
580cd9541a
commit
ca8b944b53
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ pub fn run_wasm(args: &BuildWasm) -> Result<()> {
|
|||
"-I", "lib/include",
|
||||
"--js-library", "lib/binding_web/lib/imports.js",
|
||||
"--pre-js", "lib/binding_web/lib/prefix.js",
|
||||
"-o", if args.cjs { binding_file!("cjs") } else { binding_file!(".mjs") },
|
||||
"-o", if args.cjs { binding_file!(".cjs") } else { binding_file!(".mjs") },
|
||||
"lib/src/lib.c",
|
||||
"lib/binding_web/lib/tree-sitter.c",
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue