Skip to content

Commit

Permalink
New attempt at fixing production build.
Browse files Browse the repository at this point in the history
  • Loading branch information
LanDinh committed Dec 24, 2024
1 parent 90e82ca commit 39d8706
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"resolveJsonModule": true,
"target": "ES2019",
"strict": true,
"allowJs": true,
"allowJs": false,
"forceConsistentCasingInFileNames": true,
"baseUrl": "./",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ cd "${frontend_base}"
rm -f "${typescript_out}/"*
mkdir -p "${typescript_out}"
cat requirements-proto.txt | xargs npm install --no-save
npx pbjs -t static-module -w commonjs -o "${typescript_out}/proto.js" "../${proto_in}/*.proto"
npx pbjs -t static-module -w es6 --keep-case -o "${typescript_out}/proto.js" "../${proto_in}/*.proto"
npx pbts -o ${typescript_out}/proto.d.ts ${typescript_out}/proto.js
cd ..

0 comments on commit 39d8706

Please sign in to comment.