Skip to content

Conversation

@simonsmith
Copy link
Collaborator

This adds the feature discussed in #7

@toomuchdesign Can you have a quick look at this? I went a slightly different route and instead of reverting all your commits it was quicker to make a fresh branch. Sorry! :)

I added a couple of tests to ensure the plugin function directs the import to the correct resolve function.

@TrySound Can you add me to the npm package please? :)

@simonsmith simonsmith mentioned this pull request Jan 9, 2017
@TrySound
Copy link
Owner

Done.

@simonsmith simonsmith mentioned this pull request Jan 10, 2017
@toomuchdesign
Copy link

Looks good to me. 👏

This builds on the efforts by @toomuchdesign in #7 and #13.

Instead of using a `glob` option and being forced to pick one or the
other it now uses `isGlob` to detect what kind of resolve function
should be used. This allows both types to be used.

Example:

```css
@import "suitcss-utils-display"; /* node_modules */
@import "./theme.css"; /* relative path */
@import "./components/*.css" /* glob */
```
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.

4 participants