Use direct es import import typedHtml from './node_modules/typed-html/dist/elements.js' or use a bare import (import typedHtml from 'typed-html'`) with a bundler like rollup.
BREAKING CHANGE: emitted new lines in strings are no longer platform dependent. \n is now always used.
Use direct es import
import typedHtml from './node_modules/typed-html/dist/elements.js' or use a bare import (
import typedHtml from 'typed-html'`) with a bundler like rollup.BREAKING CHANGE: emitted new lines in strings are no longer platform dependent.
\n
is now always used.