diff --git a/cli/src/build.ts b/cli/src/build.ts index 8a79f239..151dfe6a 100644 --- a/cli/src/build.ts +++ b/cli/src/build.ts @@ -345,7 +345,7 @@ async function writeJsBinding( }, '') await writeFileAsync( distFileName, - template + declareCodes + exportsCode, + template + declareCodes + exportsCode + '\n', 'utf8', ) }