We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With these files:
a.mjs:
a.mjs
import rollup from 'rollup' ;(async()=>{ let bundle=await rollup.rollup({input:'b.mjs'}), {code}=await bundle.generate({format:'iife'}) console.log(code) })()
b.mjs:
b.mjs
import c from './c.mjs' ;(()=>{ console.log(c) })()
c.mjs:
c.mjs
export default 0
Run: $ node --experimental a.mjs
$ node --experimental a.mjs
Output:
(function () { 'use strict'; var c = 0 (()=>{ console.log(c); })(); }());
Expected: At least one semicolon between var c = 0 and (()=>{.
var c = 0
(()=>{
$ node -v: v9.10.1 $ npm -v rollup: 5.8.0
$ node -v
v9.10.1
$ npm -v rollup
5.8.0
The text was updated successfully, but these errors were encountered:
I can confirm this with replication at - https://rollupjs.org/repl?version=0.58.0&shareable=JTdCJTIybW9kdWxlcyUyMiUzQSU1QiU3QiUyMm5hbWUlMjIlM0ElMjJtYWluLmpzJTIyJTJDJTIyY29kZSUyMiUzQSUyMmltcG9ydCUyMGMlMjBmcm9tJTIwJy4lMkZjLmpzJyU1Q24lM0IoKCklM0QlM0UlN0IlNUNuJTIwJTIwJTIwJTIwY29uc29sZS5sb2coYyklNUNuJTdEKSgpJTIyJTdEJTJDJTdCJTIybmFtZSUyMiUzQSUyMmMuanMlMjIlMkMlMjJjb2RlJTIyJTNBJTIyZXhwb3J0JTIwZGVmYXVsdCUyMDAlMjIlN0QlNUQlMkMlMjJvcHRpb25zJTIyJTNBJTdCJTIyZm9ybWF0JTIyJTNBJTIyZXMlMjIlMkMlMjJuYW1lJTIyJTNBJTIybXlCdW5kbGUlMjIlMkMlMjJnbG9iYWxzJTIyJTNBJTdCJTdEJTJDJTIyYW1kJTIyJTNBJTdCJTIyaWQlMjIlM0ElMjIlMjIlN0QlN0QlMkMlMjJleGFtcGxlJTIyJTNBbnVsbCU3RA==
Sorry, something went wrong.
cd8115b
No branches or pull requests
With these files:
a.mjs
:b.mjs
:c.mjs
:Run:
$ node --experimental a.mjs
Output:
Expected: At least one semicolon between
var c = 0
and(()=>{
.$ node -v
:v9.10.1
$ npm -v rollup
:5.8.0
The text was updated successfully, but these errors were encountered: