Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when import inky-browser' #95

Open
stoplion opened this issue Dec 21, 2017 · 1 comment
Open

Error when import inky-browser' #95

stoplion opened this issue Dec 21, 2017 · 1 comment

Comments

@stoplion
Copy link

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

@1e1f
Copy link

1e1f commented Dec 5, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants