-
Notifications
You must be signed in to change notification settings - Fork 2
I have modules that do not export es6 style but need to be transformed #1
Comments
Hey @elevatebart, I'll take a look! |
I was even nicer, I created a pull request #2. |
Thanks!! Unfortunately #2 broke a lot of things including the integration tests in Does it work for you too if you install the latest from master, |
Do you know where I could have access to these integration tests so that I can make sure that my branch does not break them before I go ahead and submit anything else. The first issue with delay was the use of an arrow expression |
Just to be clear, your changes fixed my initial issue which was to be able to use 'delay'. module.export = () => {
return "test";
} the bundling will probably fail. |
Ok, I've added support for fat arrow functions too with a unit test containing your example! |
it's working like a charm !!! thank you !!! |
We tested it on our side and we love it. The last thing we need is Once this is done, you can close the issue. |
On npm now! |
Why limit the transforms to files that contain import and exports ES6 style like so ?
Why not simply babel every file ?
I am trying to use the delay library in a Karma-Typescript context and the testing returns a parsing error at bundling even with your transform.
Can you help me figure it out ?
The text was updated successfully, but these errors were encountered: