core: copy email templates into build

This commit is contained in:
einhornimmond 2025-11-24 17:07:18 +01:00
parent 68e09d432f
commit e6a191838c

View File

@ -15,7 +15,7 @@
"license": "Apache-2.0",
"private": true,
"scripts": {
"build": "bun esbuild.config.ts",
"build": "bun esbuild.config.ts && mkdirp build/templates/ && ncp src/emails/templates build/templates",
"build:bun": "bun build src/index.ts --outdir=build --target=bun --packages=external",
"test": "bun test",
"test:debug": "bun test --inspect-brk",
@ -53,6 +53,8 @@
"dotenv": "^10.0.0",
"graphql-request": "5.0.0",
"jest": "27.2.4",
"mkdirp": "^3.0.1",
"ncp": "^2.0.0",
"type-graphql": "^1.1.1",
"typescript": "^4.9.5"
},