Patch Changes
-
#4274
d23f3b1Thanks @trevor-scheer! - Bump TypeScript emit target fromes5toes6.The published JavaScript now uses ES6 syntax (
const, arrow functions, native destructuring) instead of down-leveled ES5. In practice this is consumed via a bundler in every real-world setup (and paired with CodeMirror 5, which already requires an ES6 runtime), so this changes the intermediate emit but not what consumers end up shipping. Code that loads the published.jsdirectly in a strictly ES5-only environment (e.g. IE11 without transpilation) is no longer supported. CodeMirror 5 itself does not support that configuration.