mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-26 16:52:06 +05:30
Добавил продакшен деплой реакта
This commit is contained in:
parent
1550293fc7
commit
60ebce5284
@ -62,6 +62,9 @@ var webpackConfig = {
|
||||
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
NODE_ENV: JSON.stringify(isProduction ? 'production' : 'dev')
|
||||
},
|
||||
__DEV__: !isProduction,
|
||||
__TEST__: isTest,
|
||||
__PROD__: isProduction
|
||||
|
Loading…
Reference in New Issue
Block a user