Meriadec Pillet
7 years ago
committed by
GitHub
8 changed files with 90 additions and 40 deletions
@ -1,13 +1,13 @@ |
|||
require('dotenv').config() |
|||
const webpack = require('webpack') |
|||
const Dotenv = require('dotenv-webpack') |
|||
|
|||
require('../src/globals') |
|||
|
|||
module.exports = [ |
|||
new Dotenv(), |
|||
new webpack.DefinePlugin({ |
|||
__DEV__, |
|||
__PROD__, |
|||
__SENTRY_URL__: JSON.stringify(process.env.SENTRY_URL), |
|||
'process.env.NODE_ENV': JSON.stringify(__ENV__), |
|||
}), |
|||
] |
|||
|
Loading…
Reference in new issue