New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spread operator support #905

Closed
paulpruteanu opened this Issue Nov 11, 2017 · 7 comments

Comments

6 participants
@paulpruteanu

paulpruteanu commented Nov 11, 2017

Any plans to support transform-object-rest-spread plugin? It would make tests neater, whenever necessary.

@brian-mann

This comment has been minimized.

Show comment
Hide comment
@brian-mann

brian-mann Nov 11, 2017

Member

This is actually done (it is a PR right now). It's part of the plugins / extensions API which is documented here: #684

Member

brian-mann commented Nov 11, 2017

This is actually done (it is a PR right now). It's part of the plugins / extensions API which is documented here: #684

@paulpruteanu

This comment has been minimized.

Show comment
Hide comment
@paulpruteanu

paulpruteanu Nov 11, 2017

Sounds good, thank you!

paulpruteanu commented Nov 11, 2017

Sounds good, thank you!

@brian-mann brian-mann added this to the 1.1.0 milestone Nov 20, 2017

@brian-mann

This comment has been minimized.

Show comment
Hide comment
@brian-mann

brian-mann Nov 20, 2017

Member

Released in 1.1.0.

Member

brian-mann commented Nov 20, 2017

Released in 1.1.0.

@hsellou

This comment has been minimized.

Show comment
Hide comment
@hsellou

hsellou Apr 6, 2018

Can you give us a sample of a file preprocessor to use in order to have the spread operator, please ?
I'm a little lost in webpack/babel preprocessor configuration :(

Thanks !

hsellou commented Apr 6, 2018

Can you give us a sample of a file preprocessor to use in order to have the spread operator, please ?
I'm a little lost in webpack/babel preprocessor configuration :(

Thanks !

@dcastil

This comment has been minimized.

Show comment
Hide comment
@dcastil

dcastil Apr 16, 2018

Contributor

I'd also like native spread operator support for Cypress. It's strange that I can't use syntax which is natively supported by node.

Contributor

dcastil commented Apr 16, 2018

I'd also like native spread operator support for Cypress. It's strange that I can't use syntax which is natively supported by node.

@jennifer-shehane

This comment has been minimized.

Show comment
Hide comment
@jennifer-shehane

jennifer-shehane Apr 17, 2018

Member

I created a new issue in our docs to document use of the spread operator within the preprocessor here: cypress-io/cypress-documentation#533. Our documentation is open source and contributions are welcome.

Member

jennifer-shehane commented Apr 17, 2018

I created a new issue in our docs to document use of the spread operator within the preprocessor here: cypress-io/cypress-documentation#533. Our documentation is open source and contributions are welcome.

@zebulonj

This comment has been minimized.

Show comment
Hide comment
@zebulonj

zebulonj Apr 17, 2018

@hsellou If you're already using webpack, this should get you where you want to be (includes examples): https://github.com/cypress-io/cypress-webpack-preprocessor

zebulonj commented Apr 17, 2018

@hsellou If you're already using webpack, this should get you where you want to be (includes examples): https://github.com/cypress-io/cypress-webpack-preprocessor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment