From f6852b168f7513bc56298ccebadc30800f7c564e Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Sat, 12 Oct 2024 08:30:04 -0700 Subject: [PATCH] chore: Get build working on linux again, hopefully w/o disrupting windows --- etc/package.json | 1 + package.json5 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 etc/package.json diff --git a/etc/package.json b/etc/package.json new file mode 100644 index 0000000..6990891 --- /dev/null +++ b/etc/package.json @@ -0,0 +1 @@ +{"type": "module"} diff --git a/package.json5 b/package.json5 index ebb3ed2..afa5263 100644 --- a/package.json5 +++ b/package.json5 @@ -3,7 +3,7 @@ version: '0.0.1', description: 'Another prototype for a math core', scripts: { - build: 'tsc && echo {"type": "module"} > build/package.json', + build: 'tsc && cp etc/package.json build/', go: 'pnpm build && pnpm start', prepare: 'ts-patch install -s', start: 'node --experimental-loader tsc-module-loader build',