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

replaceCreateClass added to source url for devtool=eval #19

Closed
syranide opened this issue Aug 20, 2014 · 2 comments
Closed

replaceCreateClass added to source url for devtool=eval #19

syranide opened this issue Aug 20, 2014 · 2 comments

Comments

@syranide
Copy link
Contributor

When using devtool: 'eval', webpack displays the full resolved path with all loaders. /replaceCreateClass.js gets added for react-hot-loader which is irrelevant for the user and makes it unnecessarily long, perhaps it cannot be (easily) avoided, but I wanted to float it anyway. :)

MyFile.js?./~/react-hot-loader/replaceCreateClass.js!./~/jsx-loader?harmony:68

@gaearon
Copy link
Owner

gaearon commented Aug 20, 2014

I'm actually using this for accurate names (but it's way slower than eval). I haven't looked into making it nice in eval yet.

@gaearon
Copy link
Owner

gaearon commented Aug 21, 2014

Fixed via 02c9713

@gaearon gaearon closed this as completed Aug 21, 2014
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

No branches or pull requests

2 participants