Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added postbuild script

Blue Mouse1bacffaf5898
diff --git a/package.json b/package.json
index 3a91cbfe6..d5f910ba1 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,7 @@
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
+ "postbuild": "cp -r src/common/templates/ dist/common/templates && cp .env dist/.env",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",