Skip to content

Imports component #9

Merged
merged 5 commits into from Feb 25, 2014
Commits on Feb 25, 2014
  1. @kewah

    Forgotten var

    kewah committed Feb 25, 2014
  2. @kewah

    `file` var isn't used

    kewah committed Feb 25, 2014
  3. @kewah

    Ability to import another component's stylus file

    kewah committed Feb 25, 2014
    Add the component's dependencies (local and online) to `options.paths`.
    We are now able to import another stylus file directly inside the component.
    
    ```
    {
      ...
      "local": [
        "base-styles"
      ],
    }
    ```
    
    ```
    @import "base-styles/animation-mixin";
    ```
    
    However, we must be careful not to import files containing CSS properties, otherwise they will be duplicated in the output.
    
    Related to #6
  4. @kewah

    Dependencies are already imported

    kewah committed Feb 25, 2014
  5. @kewah

    Add tests

    kewah committed Feb 25, 2014
Something went wrong with that request. Please try again.