Closed samhh closed 7 years ago
Probably only for modern builds though as IE9 does not have full support? See: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Strict_mode
Seems to be included already... I think? Bundles that I'm looking at without this plugin still have 'use strict' injected into the top of them. Twice, even. Possibly es2015 preset?
Closing for now.
https://babeljs.io/docs/plugins/transform-strict-mode/
Unless it's included by default somehow?