Working with React 15.6.1, I discovered a regression when bundling with Rollup 0.49.3 in the form of a RangeError: Maximum call stack size exceeded
exception. This gist bundles without error using Rollup 0.49.2.
- Mac OS X 10.12.6 using node 8.4 and 8.5
- docker using node:8.4 and node:8.5 image
$ npm install && npm run build
Or for Docker repros:
$ docker build -f ./Dockerfile.node84 .
$ docker build -f ./Dockerfile.node85 .
$ node --version
v8.4.0
$ node ./rollup_build.js
Error during rollup build: RangeError: Maximum call stack size exceeded
at Set.values (native)
at Function.from (native)
at Node.hasEffectsWhenMutated (/Users/sholloway/sandbox/2017-09-12-rollup-react/node_modules/rollup/dist/rollup.js:6900:10)
at Node.hasEffectsWhenMutated (/Users/sholloway/sandbox/2017-09-12-rollup-react/node_modules/rollup/dist/rollup.js:7091:21)
at declaration.declaration.included.declaration.isParam.declaration.isGlobal.declaration.isExternal.declaration.isNamespace.declaration.assignedExpressions.Array.from.some.node (/Users/sholloway/sandbox/2017-09-12-rollup-react/node_modules/rollup/dist/rollup.js:6900:74)
at Array.some (<anonymous>)
at Node.hasEffectsWhenMutated (/Users/sholloway/sandbox/2017-09-12-rollup-react/node_modules/rollup/dist/rollup.js:6900:55)
at Node.hasEffectsWhenMutated (/Users/sholloway/sandbox/2017-09-12-rollup-react/node_modules/rollup/dist/rollup.js:7091:21)
at declaration.declaration.included.declaration.isParam.declaration.isGlobal.declaration.isExternal.declaration.isNamespace.declaration.assignedExpressions.Array.from.some.node (/Users/sholloway/sandbox/2017-09-12-rollup-react/node_modules/rollup/dist/rollup.js:6900:74)
at Array.some (<anonymous>)