You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup is essentially as polyfill of sorts for ES modules, so the assumption is that you are writing code that is valid in an ES module. Thus for all other formats, use strict is added to make sure the behaviour is equivalent.
Or to put it differently, modules are always implicitly in strict mode by specification. There is however a flag to disable this.
askbeka
changed the title
output of output.format = 'system' has 'use strict'; when output.script = false
output of output.format = 'system' has 'use strict'; when output.strict = false
Sep 7, 2019
Not sure fully if it is a bug. But it does not allow me to use modules that require to run in non strict mode to function properly.
How Do We Reproduce?
Currently it is constant as seen from this line
Expected Behavior
No
'use strict';
addedActual Behavior
'use strict';
is presentThe text was updated successfully, but these errors were encountered: