rm localenv

This commit is contained in:
Jori Lallo 2017-07-06 23:15:49 -07:00
parent 948bbd6e92
commit 10b746e140
3 changed files with 2 additions and 9 deletions

View File

@ -1,4 +1,4 @@
require('localenv');
require('dotenv').config({ silent: true });
var path = require('path');

View File

@ -1,4 +1,4 @@
require('localenv');
require('dotenv').config({ silent: true });
// test environment variables
process.env.DATABASE_URL = process.env.DATABASE_URL_TEST;

View File

@ -41,12 +41,5 @@ productionWebpackConfig.plugins.push(
},
})
);
productionWebpackConfig.plugins.push(
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify('production'),
},
})
);
module.exports = productionWebpackConfig;