From f490b1fe89b8f28f5a20e5865ade70babc1107e8 Mon Sep 17 00:00:00 2001 From: fix-fix Date: Fri, 23 Mar 2018 20:31:52 +0500 Subject: [PATCH] Fix chunk links in with-react-loadable example (#550) Fix incorrect link to chunk scripts caused by string concatenation instead of incrementing the port number value. `process.env.*` values are strings, so in the example file port value was `'30001'` instead of `3001`. --- examples/with-react-loadable/src/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-react-loadable/src/server.js b/examples/with-react-loadable/src/server.js index 381326158..1ee4f9889 100644 --- a/examples/with-react-loadable/src/server.js +++ b/examples/with-react-loadable/src/server.js @@ -49,7 +49,7 @@ server : ``} ${chunks.map(chunk => (process.env.NODE_ENV === 'production' ? `` - : `` + : `` )).join('\n')}