Skip to content

Conversation

@cpsubrian
Copy link

Just a Failing Test ATM

This adds a failing test case that shows that the webpack loaders are not run on nested imports. I'm honestly not sure what the solution is but at least we have a test 😄

The expected output of import-nested.less should be:

.top-import {
      background: hotpink;
}
.nested-import {
      background: hotpink;
}

But, instead you get the following (because the loaders are not run on the nested import):

.top-import {
      background: hotpink;
}
.nested-import {
      background: <%= color %>;
}

@jsf-clabot
Copy link

jsf-clabot commented May 11, 2017

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

@michael-ciniawsky michael-ciniawsky changed the title Run webpack loaders on nested imports test(index): loaders fails on nested imports Feb 27, 2018
@michael-ciniawsky michael-ciniawsky added this to the 4.0.7 milestone Feb 27, 2018
@michael-ciniawsky
Copy link
Member

@cpsubrian Can elaborate on this test case a bit more please ?

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.

4 participants