-
Notifications
You must be signed in to change notification settings - Fork 0
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
Having trouble resolving imports from a directory other than process.cwd() #4
Comments
Hey, Sounds like you may have bumped into this issue with the import path. We need to get it fixed ASAP so it's on my list. With regard to the second problem would you not just use |
@simonsmith using cc/ @TrySound |
I see, yes. It seems that's the intended behaviour of easy import. Looks like someone opened a pull request to enable globbing and module resolution but I think the author has abandoned I added a comment to this issue about it. Not sure what else to suggest there. |
I'm now a collaborator on |
Awesome!
…On Fri, Dec 9, 2016 at 7:44 AM, Simon Smith ***@***.***> wrote:
I'm now a collaborator on postcss-easy-import so hopefully I can get that
PR merged soon
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFnSkxrzTDZynZSGHMWN6XmfsC9Es3Oks5rGVtYgaJpZM4K_j4W>
.
|
@rocketspops Can you see if that resolved your issues? |
Hey @simonsmith, No luck for me. I tried a few things but I keep getting this error message:
I'm using I still can't seem to set the Thanks, |
If you're using Let's revisit this when I've fixed that issue. |
Sounds good. I saw that ticket the other day and assumed as much. Cheers.
…On Sat, Jan 21, 2017 at 3:15 AM, Simon Smith ***@***.***> wrote:
If you're using easy-import via suitcss-preprocessor then the issue might
be we haven't moved it to 2.0 yet. There is an outstanding issue
<suitcss/preprocessor#72> to do that piece of
work.
Let's revisit this when I've fixed that issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFnSigcS_W6rA4lVUV42gM6frc0lq5aks5rUczFgaJpZM4K_j4W>
.
|
I've released a new version of this plugin that uses the latest |
Hey @simonsmith I'll take a look! No apology necessary, I appreciate your continued support of these tools. Wish I could be more helpful. |
Hey @simonsmith,
I am trying to
@import
files using glob andpostcss-easy-import
but I'm having trouble setting my import directory to something other thanprocess.cwd()
. Here is my Gulp task:In my
css
file, I have the following@import
statement:However, this results in an empty output file. But, if I change the import statement to:
The output file is compiled correctly. This confuses me since I've set
root: 'src'
. What am I missing!?Also worth noting, once I set the
postcss-easy-import
optionglob: true
I'm unable to importsuitcss
components from thenode_modules
directory. For example, the following@import
statements do not work as I expected:Any ideas?
Thanks,
Billy
The text was updated successfully, but these errors were encountered: