Add dotenv

This commit is contained in:
Jussi Kinnula
2016-03-21 15:01:49 +02:00
parent 6766ed1d0f
commit 3dba657aa0
2 changed files with 29 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
/// <reference path="dotenv.d.ts" />
import dotenv = require('dotenv');
dotenv.config({
silent: true
});
dotenv.config({
path: '.env'
})
dotenv.config({
encoding: 'utf8'
})