-
Notifications
You must be signed in to change notification settings - Fork 120
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
v0.2.6 :: tinypicker isn't defined when using webpack2 #121
Comments
To make it work there's a workaround:
But it's ugly, as there's no need to litter the global |
then don't :) Use the expose-loader webpack module.
|
@aberenyi looks |
You're right, sorry I misunderstood your question. What you could try is to import both packages just before you define the module.
Have not tried this, but in theory it could work. |
Unfortunately this won't work as well, (although I haven't tried it, but it shouldn't) And the request is about excluding this dependency in favour of |
I'm using webpack.
I've added md-color-picker to my package.json, then I've added
require('md-color-picker')
, but I've faced with this:Looks
md-color-picker
itself relies that tinycolor will always be in global scope. But in tinycolor theres a definition:Could you please fix
The text was updated successfully, but these errors were encountered: