cypress-await icon indicating copy to clipboard operation
cypress-await copied to clipboard

how can I use import instead of require?

Open vesper8 opened this issue 1 year ago • 1 comments

I can't even install this right now.. getting ReferenceError: require is not defined in ES module scope, you can use import instead

The way that your cypress.config.js is not at all the way mine is after I just started using it.

Is it possible to use import instead of require?

Many thanks

vesper8 avatar Jan 11 '24 13:01 vesper8

Can you provide more details?

bahmutov avatar Jan 11 '24 15:01 bahmutov