File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " coderoad" ,
3- "version" : " 0.17.2 " ,
3+ "version" : " 0.17.3 " ,
44 "description" : " Play interactive coding tutorials in your editor" ,
55 "keywords" : [
66 " tutorial" ,
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ export type Env = 'test' | 'local' | 'development' | 'production'
1010// @ts -ignore
1111export const NODE_ENV : Env = process . env . NODE_ENV || 'development'
1212
13- // toggle logging in development
14- export const LOG = false
13+ // toggle logging
14+ export const LOG = ( process . env . CODEROAD_ENABLE_LOG || '' ) . toLowerCase ( ) === 'true'
1515
1616// error logging tool
1717export const INSTRUMENTATION_KEY = '6ff37c76-72f3-48e3-a1b9-d5636f519b7b'
Original file line number Diff line number Diff line change 11{
22 "name" : " coderoad-app" ,
3- "version" : " 0.17.2 " ,
3+ "version" : " 0.17.3 " ,
44 "private" : true ,
55 "scripts" : {
66 "analyze" : " source-map-explorer 'build/static/js/*.js'" ,
You can’t perform that action at this time.
0 commit comments