-
-
Notifications
You must be signed in to change notification settings - Fork 636
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
relative import of modules that were build from repo #79
Comments
@cvg1 There was a bug in the bundle system. Try latest dev and bundle again. The files are now located in |
i can confirm that packages are being built into path you've specified.
however, behavior reminds the same. |
This should be all fixed in the latest master/release. |
i've installed now 0.5.18 from npm again and using these imports again:
however, the inferno-component import doesn't work anymore:
|
@cvg1 I applied this fix to master and update the |
ok, i've installed inferno-component from npm and all npm imports work ok now. i've also tried to build modules from master again. relative import of these two works ok:
but during import of:
i'll recieve:
|
As a separate node: you can simply require from NPM now as it's up-to-date with the changes that fixed your earlier issues. In terms of loading from static files, I've had countless issues there – I'd advise to use the usual route |
i've tried doing symlinks to the node_modules/ dir instead of relative imports and it was working well. |
hello,
can some one help, how to use the master/dev repo modules builds?
after npm run clean && npm run build, i'll get these build results in inferno/dist/ directory:
however when trying to import modules via relative path:
no errors are reported during bundle creation, but inferno component will not get mounted into DOM node specified via getElementByID.
i apologize if the issue is obvious. i am not familiar with front end dev processes.
these are imports specified when packages are installed via npm, which do work ok:
note that i believe that i am doing something wrong rather than there is an issue/bug with the actual inferno package.
regards,
The text was updated successfully, but these errors were encountered: