make-runnable icon indicating copy to clipboard operation
make-runnable copied to clipboard

Errors using import statements even with @babel/register

Open zgallagher08 opened this issue 5 years ago • 1 comments

I'm trying to use make-runnable to insert rows into my database, and I'm using my db config file which uses ES6 imports.

How can I get make-runnable to work with imports instead of require?

zgallagher08 avatar May 15 '20 04:05 zgallagher08

Hmmm yeah this hasn't been tested with import. Will look into it. In the meanwhile - PR's welcome!

super-cache-money avatar Feb 07 '21 16:02 super-cache-money