8 lines
235 B
JavaScript
8 lines
235 B
JavaScript
process.env.NODE_ENV = process.env.NODE_ENV || 'development'
|
|
|
|
const dotenv = require('dotenv')
|
|
dotenv.config({ path: '.env', silent: true })
|
|
|
|
const environment = require('./environment')
|
|
|
|
module.exports = environment.toWebpackConfig()
|