← All tasks
javascriptstyled-components/polished #279Not a task: already works

Rollup isn't processing spread operator in normalize.js

envgap__styled-components__polished-279

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
28fdc902e2b3a0706ea0cf9543b2fdb5efc3ef80
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

styled-components/polished #279 · read the original issue
- `polished` version: master



Mixin/Helper/Shortand you were using and how you were using it:



I wanted to setup my fork so I could begin contributing to the project.



```shell

npm install

```



What you are seeing:



![image](https://user-images.githubusercontent.com/38894/34279362-4d0eade4-e665-11e7-8423-a15929fab701.png)



This leads me to believe that even though rollup has a spread operator plugin, it still fails to recognize it during the bundling process. Specifically this is happening in normalize.js



![image](https://user-images.githubusercontent.com/38894/34279485-01c23670-e666-11e7-9abb-88d7d4e964b7.png)



At this point I thought it would be useful to try building docs to run the webserver, but that didn't help.



What you expected to see:



* Expected to see the project to build and docs webserver spin up without issue.

* Also, not sure why my VSCode isn't liking the flow types, but I can focus on that.



Reproduction:



* Just clone my fork for the same version of master: https://github.com/stephenway/polished

* Then try to `npm install` and `npm build`, etc.

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]