Hi, I noticed that the kit scripts returned by Typekit do not use strict mode and they are thus invalid module imports and cannot be imported using the es6 import syntax. You can test this by opening a page with the following HTML in a browser that supports the script type=module such as the current version of Safari.
You will see an error like:
TypeError: undefined is not an object (evaluating 'this.g.document')
That's because strict mode does not pass the global variable into the "this" variable of a function. The issue could easily be fixed by using "window" instead of "this".