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