Skip to content

Commit

Permalink
chore: the build now also works on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Zork33 authored and zeruk committed Jul 5, 2023
1 parent 8e86675 commit 787ba9c
Show file tree
Hide file tree
Showing 4 changed files with 2,035 additions and 148 deletions.
12 changes: 12 additions & 0 deletions fixup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const fs = require('fs');
const package = require('./package.json');

['esm', 'cjs'].forEach((target) => {
fs.writeFileSync(
`build/${target}/package.json`,
`{
"version": "${package.version}"
}
`,
);
});
11 changes: 0 additions & 11 deletions fixup.sh

This file was deleted.

Loading

0 comments on commit 787ba9c

Please sign in to comment.