Skip to content

Commit

Permalink
forgot the build.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
dvargas92495 committed Nov 5, 2024
1 parent 5357477 commit 3978f21
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions generators/python-v2/ast/build.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const packageJson = require("./package.json");
const tsup = require('tsup');
const { writeFile, rename } = require("fs/promises");
const path = require("path");

main();

async function main() {
await tsup.build({
entry: ['src/**/*.ts', '!src/__test__'],
format: ['cjs'],
clean: true,
outDir: 'dist',
external: [
"@wasm-fmt/ruff_fmt",
],
});
}

0 comments on commit 3978f21

Please sign in to comment.