Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

The plugin doesn't work if dangerfile is not transpiled #26

Open
mgol opened this issue Feb 12, 2020 · 0 comments
Open

The plugin doesn't work if dangerfile is not transpiled #26

mgol opened this issue Feb 12, 2020 · 0 comments

Comments

@mgol
Copy link

mgol commented Feb 12, 2020

If you set the DANGER_DISABLE_TRANSPILATION environment variable to "true" to avoid transpilation, dangerfile.js is executed directly via Node.js. In that case, this plugin doesn't work as it only exposes transpiled sources which uses the regeneratorRuntime global that won't exist for untranspiled sources.

It'd help if you also exported untranspiled source in the npm package. Modern Node.js versions should understand it without any issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant