From 81344fd61bbdb72e290be3f9ac5d00a7289be603 Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Tue, 31 Oct 2017 14:16:20 +0200 Subject: [PATCH] Update 0.8-upgrade.md --- docs/0.8-upgrade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/0.8-upgrade.md b/docs/0.8-upgrade.md index e24acde..09fbbc5 100644 --- a/docs/0.8-upgrade.md +++ b/docs/0.8-upgrade.md @@ -20,7 +20,7 @@ doesn't depend on use of `:npm-deps` option!** `:npm-deps` option is only about installing the dependencies, if packages are available in `node_modules` directory, they will be used. -You can use `:shim-process` compiler option to provide `process.env.NODE_ENV` +You can use `:process-shim` compiler option to provide `process.env.NODE_ENV` constant which is used by JS code to enable development and production builds. ClojureScript compiler will automatically set this constant to `production` value when using `:advanced` optimizations. This enables