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

fix: importing file directly from scoped npm package #450

Merged
merged 2 commits into from
May 10, 2017
Merged

fix: importing file directly from scoped npm package #450

merged 2 commits into from
May 10, 2017

Conversation

roman-vanesyan
Copy link
Contributor

pr #447 introduce an issue with direct import from scoped npm packages, preventing sass-loader from formatting imported file correctly (see #447 (comment)). This pr indented to fix the issue.

@roman-vanesyan
Copy link
Contributor Author

roman-vanesyan commented May 9, 2017

Friendly /cc @d3viant0ne, as it is hotfix for issue introduce in #447

Copy link
Member

@michael-ciniawsky michael-ciniawsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vanesyan Please double check :) LGTM

IgorMinar added a commit to IgorMinar/angular that referenced this pull request May 9, 2017
@michael-ciniawsky michael-ciniawsky changed the title Fix issue with importing file directly from scoped npm package fix: importing file directly from scoped npm package May 10, 2017
@joshwiens joshwiens merged commit 5d06e9d into webpack-contrib:master May 10, 2017
@joshwiens
Copy link
Member

For reference, while Johannes is busy irl and i'm filling in, if you can't get me via github and it's time sensitive just ping me on Twitter ( same name ) which will ding my cell.

@netmikey
Copy link

@d3viant0ne It looks like 6.0.5 didn't make it to npm yet. As builds are still failing, could you please have a look? Thanks in advance! :-)

@avivshafir
Copy link

I just got version 6.0.5 installed which broke my build.
The node-sass module was upgraded from version 6.0.4 just now and i get this error:

Module build failed: ModuleBuildError: Module build failed:
@import '~@widgets/widgets-ui-core/styles/style';
File to import not found or unreadable

The widgets module is an internal scoped module.
Is this something you expected?
If it's a breaking change it should been released not as a patch version probably.

@michael-ciniawsky
Copy link
Member

@avivshafir Can you please provide a bit more context, the fix here is a semver patch && node-sass is should normally be a peerDependency you as the user control the version. But I'm not 💯 sure I understood the node-sass part correctly 😛

@alexander-akait
Copy link
Member

@michael-ciniawsky just typo, node-sass -> sass-loader. node-sass is now only 4.5.2 😄

@roman-vanesyan
Copy link
Contributor Author

roman-vanesyan commented May 10, 2017

6.0.5 patch still is not landed on npm. Did you install it through referencing to direct GitHub release url?

@michael-ciniawsky
Copy link
Member

We have npm access problems atm (no one reachable) 😅 , but maybe we need another fix anyways 😛

@avivshafir
Copy link

Sorry guys I had a mistake the sass-loader was upgraded from 6.0.3 to 6.0.4 and not 6.0.5

@michael-ciniawsky
Copy link
Member

@avivshafir Does v6.0.5 pulled from master npm i -D webpack-contrib/sass-loader fix the issue for you, could/did you test it ? 🙃

@avivshafir
Copy link

@michael-ciniawsky I am just confirming that 6.0.4 breakes my build and 6.0.5 is working as expected!
Thanks.

@michael-ciniawsky
Copy link
Member

@avivshafir Thx appreciated

@netmikey
Copy link

6.0.5 is out on npm and I can confirm that it fixes my build :) Thx guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants