enyo / opentip

Opentip is an open source javascript tooltip based on the protoype framework.
http://www.opentip.org
1.25k stars 401 forks source link

Component adapter broken on npm #139

Open nicholasrq opened 8 years ago

nicholasrq commented 8 years ago

So, the issue

image

When trying to bundle it with Webpack error occurs because files in ./lib named differently:

ERROR in ./~/opentip/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./lib/adapter.component.js in /.../node_modules/opentip
 @ ./~/opentip/index.js 8:14-51
duy-ly commented 7 years ago

Will you have a fix for this issue?

jvince commented 7 years ago

Resolving* to opentip/downloads/opentip-native.js worked for me.

*https://webpack.js.org/configuration/resolve/