Not compatible with IE11
jeandat opened this issue ยท 5 comments
jeandat commented
It it me or compatibility with es5 only browser has been dropped in 3.x branch?
Compiled code contains ES6 syntax which then crash in IE11 with SCRIPT1003: Expected ':'
.
scttcper commented
How are you using tinycolor? Are you using the tinycolor.umd.min.js
?
jeandat commented
I'm using the modern import
syntax:
import { isReadable, TinyColor } from '@ctrl/tinycolor';
The build is managed by the angular CLI.
I have no problem with tinycolor 2.x releases.
scttcper commented
angular-cli i think should be using the "module" field which would allow us to keep the es2018 build for node and an es5 build for browsers
scttcper commented
๐ This issue has been resolved in version 3.1.2 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐
jeandat commented
Indeed angular pick the module folder. Thanks.
Jean
โฆOn Wed, May 27, 2020 at 6:42 AM Scott Cooper ***@***.***> wrote:
๐ This issue has been resolved in version 3.1.2 ๐
The release is available on:
- npm package ***@***.*** dist-tag)
***@***.***/tinycolor/v/3.1.2>
- GitHub release
<https://github.com/TypeCtrl/tinycolor/releases/tag/v3.1.2>
Your *semantic-release
<https://github.com/semantic-release/semantic-release>* bot ๐ฆ๐
โ
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#191 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVG2LRMV3HTGUBZAWCHOOTRTSK2FANCNFSM4NKIPFIQ>
.