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

Optional @import #1246

Open
hmalaud opened this issue Nov 28, 2013 · 0 comments
Open

Optional @import #1246

hmalaud opened this issue Nov 28, 2013 · 0 comments

Comments

@hmalaud
Copy link

hmalaud commented Nov 28, 2013

Let's say I have a generated .styl file I want to @import in my main .styl file. In the case the generated file has not yet been generated, I have the "failed to locate @import file. Warning: Stylus failed to compile" error .
Would it be possible to test if file exists before trying to import it, or at least not abort compilation (without using --force)?

@kizu kizu added this to the 1.0 milestone Sep 12, 2015
@Panya Panya changed the title Test @import Optional @import Nov 23, 2015
@Panya Panya mentioned this issue May 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants