Skip to content

Commit

Permalink
rm localenv
Browse files Browse the repository at this point in the history
  • Loading branch information
jorilallo committed Jul 7, 2017
1 parent 948bbd6 commit 10b746e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .sequelizerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('localenv');
require('dotenv').config({ silent: true });

var path = require('path');

Expand Down
2 changes: 1 addition & 1 deletion server/test/helper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('localenv');
require('dotenv').config({ silent: true });

// test environment variables
process.env.DATABASE_URL = process.env.DATABASE_URL_TEST;
Expand Down
7 changes: 0 additions & 7 deletions webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,5 @@ productionWebpackConfig.plugins.push(
},
})
);
productionWebpackConfig.plugins.push(
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify('production'),
},
})
);

module.exports = productionWebpackConfig;

0 comments on commit 10b746e

Please sign in to comment.