rsnext/packages/next/build/webpack/loaders
JJ Kasper d8155b22ff
Add initial support for new env handling (#10525)
* Add initial support for new env config file

* Fix serverless processEnv call when no env is provided

* Add missing await for test method

* Update env config to .env.json and add dotenv loading

* ncc dotenv package

* Update type

* Update with new discussed behavior removing .env.json

* Update hot-reloader createEntrypoints

* Make sure .env is loaded before next.config.js

* Add tests for all separate .env files

* Remove comments

* Add override tests

* Add test for overriding env vars based on local environment

* Add support for .env.test

* Apply suggestions from code review

Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>

* Use chalk for env loaded message

* Remove constant as it’s not needed

* Update test

* Update errsh, taskr, and CNA template ignores

* Make sure to only consider undefined missing

* Remove old .env ignore

* Update to not populate process.env with loaded env

* Add experimental flag and add loading of global env values

Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-03-26 13:32:41 +01:00
..
emit-file-loader.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
error-loader.ts Fix ESLint Ignores and Extract Fn (#10205) 2020-01-22 09:32:51 -05:00
next-babel-loader.js Enable polyfillsOptimization (#10574) 2020-02-18 19:26:55 +01:00
next-client-pages-loader.ts Update pages-loader to return one value (#8629) 2019-09-11 13:21:10 -04:00
next-data-loader.ts Revert "ncc Webpack build redux (#7628)" 2019-06-24 09:48:26 -04:00
next-plugin-loader.ts Initial plugins implementation (#9139) 2019-11-01 14:13:13 -05:00
next-serverless-loader.ts Add initial support for new env handling (#10525) 2020-03-26 13:32:41 +01:00
noop-loader.ts Revert "ncc Webpack build redux (#7628)" 2019-06-24 09:48:26 -04:00