You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had delayed writing down the detail of how to use because this polyfill was mainly used by Marp team. PR to add instructions how to install is welcome.
BTW, I've confirmed there are no wrongs in your import syntax. It seems that a build tool with ESM preventing named import. Which tool are you using to bundle?
I used
npm i @marp-team/marpit-svg-polyfill
but I'm gettingUncaught SyntaxError: The requested module '/@modules/@marp-team/marpit-svg-polyfill?import' does not provide an export named 'webkit'
with code
import { webkit } from '@marp-team/marpit-svg-polyfill'
The text was updated successfully, but these errors were encountered: