inky
inky copied to clipboard
Error when import inky-browser'
Steps to reproduce
import inky from 'inky/dist/inky-browser';
produces...
Uncaught TypeError: o.extend is not a function
I had same problem, I'm using webpack.
const Inky = require('inky/lib/inky');
works for me, and since I use typescript I do:
import * as Inky from 'inky/lib/inky';