New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
await fetch
is dropped in 1.14.0
#2896
Comments
I'm seeing a similar more generic issue on main.js export async function handler() {
await test();
}
async function test() {
console.log('test');
} Expected BehaviorCJS output from rollup 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
async function handler() {
await test();
}
async function test() {
console.log('test');
}
exports.handler = handler; Actual BehaviorCJS output from rollup 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
async function handler() {
await test();
}
exports.handler = handler; The |
This was referenced Jun 5, 2019
Fix at #2899 |
That was fast 🔥! Thanks! |
Sorry for the inconvenience, should be fixed in 1.14.1 now. |
Thanks a lot! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How Do We Reproduce?
REPL
main.js
util.js
Expected Behavior
await
is not dropped. This is the UMD output from Rollup 1.13.0. REPLActual Behavior
This is the UMD output in Rollup 1.14.0
The text was updated successfully, but these errors were encountered: