GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
Any plans to support transform-object-rest-spread plugin? It would make tests neater, whenever necessary.
This is actually done (it is a PR right now). It's part of the plugins / extensions API which is documented here: #684
Sounds good, thank you!
Released in 1.1.0.
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 :(
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.
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.
@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