Д
скрипт запуска:
cross-env NODE_ENV=development BUILD_ENV=development webpack-dev-server --hot --config config/webpack.dev.conf.js
console.log(process.env.BUILD_ENV)
в компоненте:
if (process.env.BUILD_ENV === 'development') alert('aaaaaa')
Size: a a a
Д
В
Д
В
AK
AK
И
В
AK
В
a
Performing an update on the path '_id' would modify the immutable field '_id'
ЮС
Performing an update on the path '_id' would modify the immutable field '_id'
a
Y
Performing an update on the path '_id' would modify the immutable field '_id'
a
Y
a
Y
a
ЛХ