Closed marvinhagemeister closed 5 years ago
Currently bublé will throw an error when it encounters a shebang. Adding the acorn option allowHashBang to the existing transform options fixes that. https://github.com/Rich-Harris/buble/blob/77cf57d743077108587f091d5f24487359fd252f/src/index.js#L56
allowHashBang
Yeah, I'd be willing to merge a PR implementing this change.
Currently bublé will throw an error when it encounters a shebang. Adding the acorn option
allowHashBang
to the existing transform options fixes that. https://github.com/Rich-Harris/buble/blob/77cf57d743077108587f091d5f24487359fd252f/src/index.js#L56