segmentio / myth

A CSS preprocessor that acts like a polyfill for future versions of the spec.
4.32k stars 131 forks source link

@import that @import fails #66

Closed MoOx closed 10 years ago

MoOx commented 10 years ago

we need to go deeper

Here is a simple test that fails when you import a file that import a file

index.css

@import "./import.css";

import.css

.imported {
  correctly: true;
}

@import "./import2.css";

import2.css

.imported2 {
  correctly: true;
}

Actual

.imported {
  correctly: true;
}

@import "./import2.css";

Expected ?

.imported {
  correctly: true;
}

.imported2 {
  correctly: true;
}

Is this a desired behavior or is it just I'm pushing myth to far ? Anyway I'm opening an issue to rework-inline that should go deeper.

MoOx commented 10 years ago

Ha well it's already open, I guess I'll finish to handle that thanks to my compulsive PRDD.

https://github.com/kevva/rework-inline/issues/5