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

Test local css import in production #43

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Test local css import in production #43

wants to merge 2 commits into from

Conversation

m-mujica
Copy link
Contributor

@m-mujica m-mujica commented Apr 24, 2017

I'm expecting this test to fail

Related to stealjs/steal-tools#673

Once that PR gets in I'll run this tests against steal-tools#master to make sure everything looks fine.

var s = getComputedStyle(p);

if (window.assert) {
assert.equal(s.fontSize, "30px", "should inline the @import");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

need to update this text, we are no longer inlining the import, but since clean-css does no longer removes them. It should still work.

@m-mujica
Copy link
Contributor Author

Update: the test should pass now since [email protected] fixes the issue with local css imports being removed from the css bundle.

Manuel Mujica added 2 commits June 27, 2017 14:43
- Update steal and steal-tools:
  [email protected] includes the fix to make the local css @import test
  pass.

- Update test assertion text:
  Local css imports are not inlined in production but they should still
  work.
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.

1 participant