-
Notifications
You must be signed in to change notification settings - Fork 163
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
Function not found due to wrong path #52
Comments
@PascalAOMS no all the fields in the
|
Thank you very much for the explanation. |
@PascalAOMS no problem. feel free to post your webpack/browserify config - id be happy to take a look |
You can find my Thanks! |
@PascalAOMS my guess is that something with your directory structure is throwing off webpack and preventing it from finding your the way you're aliasing resolve: {
// point this to the root folder of your project
// node_modules should be inside of the folder this points to
root: path.resolve(__dirname, './relative/path'),
alias: {
// your existing aliases might not be needed anymore
// if jump.js works, try removing the vue alias
}
} let me know if that helps |
I am using Webpack 2. You gave me a good tip with The equivalent would be
But that does not seem to work either. |
@PascalAOMS im stumped. this is my boilerplate for webpack 2, itll generate a directory for you. using that structure, everything works for me without even specifying the root directory or modules directory 🤕 here's a link to the webpack config (its in the |
Using No idea why though. Yea... |
When installing via NPM or in my case Yarn it does not find the correct file to import.
import jump from 'jump.js'
does not find anything since there is noindex.js
installed.Editing the path to
''jump.js/dist/jump'
does work.Furthermore the downloaded files are all in ES5. There is no
src
folder at all.The text was updated successfully, but these errors were encountered: