inky icon indicating copy to clipboard operation
inky copied to clipboard

Error when import inky-browser'

Open stoplion opened this issue 8 years ago • 1 comments

Steps to reproduce import inky from 'inky/dist/inky-browser'; produces... Uncaught TypeError: o.extend is not a function

stoplion avatar Dec 21 '17 02:12 stoplion

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';

1e1f avatar Dec 05 '19 22:12 1e1f