fix: updating build script to add .mjml templates
This commit is contained in:
1 parent
1ad39fcac6
commit
bcff3e15a8
2 files changed
+1
-3
No files matched your search
@@ -24,8 +24,6 @@ RUN npm install
|
||||
|
||||
RUN npm run build
|
||||
|
||||
RUN cp -r ./src/templates ./dist/templates
|
||||
|
||||
COPY --from=frontend-build /app/client/dist ./public
|
||||
|
||||
RUN chmod +x ./scripts/inject-vars.sh
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules c8 jest --runInBand",
|
||||
"dev": "nodemon --exec tsx src/index.js",
|
||||
"start": "node --watch ./dist/index.js",
|
||||
"build": "tsc && tsc-alias",
|
||||
"build": "tsc && tsc-alias && cp -r src/templates dist/templates",
|
||||
"lint": "eslint .",
|
||||
"lint-fix": "eslint --fix .",
|
||||
"format": "prettier --write .",
|
||||
|
||||
Reference in new issue
Block a user