Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add email templates and disposable_emails.text to build

Maidul Islamb8a6f5dc5404
diff --git a/backend/package.json b/backend/package.json
index eb31b647d4..22311f7ae5 100644
--- a/backend/package.json
+++ b/backend/package.json
@@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "tsx watch --clear-screen=false ./src/main.ts | pino-pretty --colorize --colorizeObjects --singleLine",
"dev:docker": "nodemon",
- "build": "rimraf dist && tsup",
+ "build": "rimraf dist && tsup && cp -R ./src/lib/validator/disposable_emails.txt ./dist && cp -R ./src/services/smtp/templates ./dist",
"start": "node dist/main.mjs",
"type:check": "tsc --noEmit",
"lint:fix": "eslint --fix --ext js,ts ./src",