Skip to content

Commit

Permalink
Dev fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vorlias committed Dec 30, 2021
1 parent 6be55f7 commit 61496cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
"transform": "rbxts-transform-env"
},
{
"transform": "rbxts-transform-debug"
"transform": "rbxts-transform-debug",
"environmentRequires": {
"NODE_ENV": "development"
}
}
]
},
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"prepare": "npm run build",
"build": "rbxtsc --verbose",
"dev:example": "concurrently npm:watch:example npm:serve:example",
"prod:example": "concurrently npm:watch-prod:example npm:serve:example",
"build:example": "rbxtsc --type=game -p ./example -i ./include",
"build:luau": "rbxtsc --verbose --type=model --rojo=\"luau/build.project.json\"",
"watch:example": "cross-env NODE_ENV=development rbxtsc -w --type=game -p ./example -i ./include",
"watch-prod:example": "rbxtsc -w --type=game -p ./example -i ./include",
"serve:example": "rojo serve ./example/default.project.json --port 34567"
},
"keywords": [
Expand Down

0 comments on commit 61496cb

Please sign in to comment.