ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

NODE_ENV=production is a lie

Автор: Adventures in Nodeland - Matteo Collina

Загружено: 2023-11-17

Просмотров: 4936

Описание: In the beginning, there were configuration files. Each environment had one committed to our repositories. Then, we discovered the light of the 12-factor applications and having environment-specific values set as environment variables. Then, NODE_ENV came along, and it broke our idyllic world.

Libraries with millions of weekly downloads check for NODE_ENV=production to enable optimizations, changing the behavior of applications. Given this worked so well, developers started loading configuration files (or secrets) based on the value of NODE_ENV to identify their "production" environment.
However, what value should be used for the staging environment? What about QA? If we don't run the same code everywhere, we will be hit by bugs that we cannot reproduce across environments. So, we set NODE_ENV=production everywhere. How should we distinguish across environments, then? We took a look in this video

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
NODE_ENV=production is a lie

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Generating Types without Climbing a Tree

Generating Types without Climbing a Tree

Fastify Crash Course | Node.js Framework

Fastify Crash Course | Node.js Framework

The first time we met was 2012 - My talk at Nodejsconfit 2023

The first time we met was 2012 - My talk at Nodejsconfit 2023

Masterclass | Node.js Configurations

Masterclass | Node.js Configurations

Why should not use EventEmitter for Asynchronous Operations

Why should not use EventEmitter for Asynchronous Operations

Node.js is a serious thing now… (2023)

Node.js is a serious thing now… (2023)

Marco Roth, HTML aware ERB

Marco Roth, HTML aware ERB

Dependency Injection, The Best Pattern

Dependency Injection, The Best Pattern

Type-safe Fastify

Type-safe Fastify

Японец по цене ВАЗа! Оживляем пацанскую мечту :)

Японец по цене ВАЗа! Оживляем пацанскую мечту :)

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]