chore: Get build working on linux again, hopefully w/o disrupting windows #2

Merged
glen merged 1 commits from build_pkg into main 2024-10-12 15:32:01 +00:00
2 changed files with 2 additions and 1 deletions

1
etc/package.json Normal file
View File

@ -0,0 +1 @@
{"type": "module"}

View File

@ -3,7 +3,7 @@
version: '0.0.1', version: '0.0.1',
description: 'Another prototype for a math core', description: 'Another prototype for a math core',
scripts: { scripts: {
build: 'tsc && echo {"type": "module"} > build/package.json', build: 'tsc && cp etc/package.json build/',
go: 'pnpm build && pnpm start', go: 'pnpm build && pnpm start',
prepare: 'ts-patch install -s', prepare: 'ts-patch install -s',
start: 'node --experimental-loader tsc-module-loader build', start: 'node --experimental-loader tsc-module-loader build',