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

working but with limitations #1

Merged
merged 2 commits into from
Oct 29, 2015
Merged

working but with limitations #1

merged 2 commits into from
Oct 29, 2015

Conversation

bholloway
Copy link
Contributor

@ccorcos this is working but I had to use absolute mode on the resolve-url-loader. But check the diff because there were several changes.

With this example project I can see some interesting things.

I had forgotten that the project directory, per process.cwd() was intended as a stop to the file search where there was no package.json or bower.json encountered. Since your script is running inside proj1 then any references in proj2 would not have worked. However there is a bug at line 102 which means that this did not effect you. Obviously I will need to relax the original intention and work out some other search limit.

I now need to work out why the absolute mode is necessary. We actually want url(proj2/javascript.png) to go through unchanged so that webpack can treat it as a module uri. But when this happens Webpack cannot resolve it.

@ccorcos
Copy link
Owner

ccorcos commented Oct 29, 2015

Sweet. This is working! Thanks dude!

ccorcos added a commit that referenced this pull request Oct 29, 2015
working but with limitations
@ccorcos ccorcos merged commit f5e59d3 into ccorcos:master Oct 29, 2015
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

Successfully merging this pull request may close these issues.

2 participants