rm localenv
This commit is contained in:
parent
948bbd6e92
commit
10b746e140
|
@ -1,4 +1,4 @@
|
|||
require('localenv');
|
||||
require('dotenv').config({ silent: true });
|
||||
|
||||
var path = require('path');
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require('localenv');
|
||||
require('dotenv').config({ silent: true });
|
||||
|
||||
// test environment variables
|
||||
process.env.DATABASE_URL = process.env.DATABASE_URL_TEST;
|
||||
|
|
|
@ -41,12 +41,5 @@ productionWebpackConfig.plugins.push(
|
|||
},
|
||||
})
|
||||
);
|
||||
productionWebpackConfig.plugins.push(
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
NODE_ENV: JSON.stringify('production'),
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
module.exports = productionWebpackConfig;
|
||||
|
|
Reference in New Issue