Uh oh!
There was an error while loading. Please reload this page.
Specify sourceType - #6279
Conversation
Timer
left a comment
There was a problem hiding this comment.
Can we put this in the Babel plugin instead, please?
veltman
commented
Jan 26, 2019
Not sure whether there's a better place to nest this (e.g. options on a specific preset), so I put it in the main options for the preset. Feel free to move it if this isn't ideal! |
veltman
commented
Feb 5, 2019
Any thoughts on this @Timer? |
ianschmitz
commented
Feb 10, 2019
I'm wondering if this could cause regressions based on what I read in their docs: https://babeljs.io/docs/en/options#sourcetype. Specifically:
|
mifi
commented
Mar 31, 2019
Anyone know why the travis build fails? I'm having the same problem. It's a very confusing bug because it doesn't say what's wrong with the code, it just says In my case I had used array destructuring assignment like this: |
veltman
commented
Apr 10, 2019
@Timer any thoughts on this? this still seems like a significant bug, I'm not sure if there's a better approach than forcing the |
danderson00
commented
Sep 5, 2019
Any progress on this? Happy to help out with some of the grunt work if it helps! I recently upgraded |
yassine-be
commented
Oct 21, 2019
Is anyone on this ? |
danderson00
commented
Oct 21, 2019
@yassine-be Though not ideal, you can work around this issue by replacing any object spread operators with |
day-scene
commented
Jan 5, 2020
Is anyone on this ? I'd love to have this fixed. |
dmwyatt
commented
Feb 22, 2021
Yeah, this is still a problem. Any thoughts, @Timer? |
arcandio
commented
Jul 21, 2021
Just throwing my hat in on this one, hoping it's not too far out. |
Resolves#6163, transpile a mixture of CJS scripts and ES modules in
src/by treating only files withimportorexportstatements as an ES module.