Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lukachi committed Dec 20, 2024
1 parent 4a4b72c commit d5e3980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen-npm-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ for PACKAGE_DIR in "$BASE_DIR"/*; do
# Step 2: Run Rollup to create CJS format
CJS_FILE="${ESM_FILE%-esm.js}-cjs.js"
echo "Creating CJS format for $PACKAGE_NAME..."
rollup "$ESM_FILE" --file "$CJS_FILE" --format cjs
npx rollup "$ESM_FILE" --file "$CJS_FILE" --format cjs

# Add the package export entry to the main package.json
cat <<EOF >> "$PACKAGE_JSON"
Expand Down

0 comments on commit d5e3980

Please sign in to comment.