Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Does not work with npm link #40
I'm not sure if this problem is coming from this loader or webpack or from node itself.
I'm developing a package having peerDependencies, so I've
I'm using webpack2 and my resolve.modules looks like this:
So npm link-ed packages should be correctly resolved.
This is the configuration for this loader:
but things don't work.
Following all the options I've tried to pass to
By removing the
So I'm a bit confused about this issue, how I'm supposed to correctly setup the include path and from where exactly this issue is coming from?
I am also trying to use it with npm link and it doesn't seem to work either: source-maps for my library don't seem to be used at all, but I get no error.
Here is the configuration I used:
I am also using webpack 2.
I kinda of make it work with
@LeonardoGentile Are you sure "node_modules" is part of the path webpack is using to include your module?
Since your using npm link it's likely webpack is using the resolved symlink instead of the link itself (ie:
Could you try to remove the include option and use the main file of your package for the test regex ? For example:
Just to be sure.