Skip to content
This repository was archived by the owner on Aug 2, 2018. It is now read-only.

stdin and assets #217

Open
stephenmathieson opened this issue Aug 21, 2014 · 4 comments
Open

stdin and assets #217

stephenmathieson opened this issue Aug 21, 2014 · 4 comments
Labels

Comments

@stephenmathieson
Copy link
Contributor

looks like we've still got some weird behaviour with stdin/assets:

index.css

body {
  background: url('./images/duo.png');
}

builds fine:

$ bin/duo -t css < index.css > out.css

     building : from stdin
        built : from stdin

but incorrectly writes:

out.css

body {
  background: url('/images/duo.png');
}

as duo.png is actually in ./build/images/.

not sure if this is too edge-casey to matter, but thought i'd raise as an issue as the it confused me for a sec haha

@matthewmueller
Copy link
Contributor

get the feeling you're running an old version of duo because

body {
  background: url('./images/duo.png');
}

Would be this:

body {
  background: url('images/duo.png');
}

In the newer version. Can you update and try again?

@stephenmathieson
Copy link
Contributor Author

im using master?

stephenmathieson at MBP in ~/repos/duo on master*
$ bin/duo --version
0.8.1

@matthewmueller
Copy link
Contributor

oh weird, haha. okay i'll take a look.

@sachalifs
Copy link

I'm having the same issue.

Also using the https://github.com/stephenmathieson/duo-stylus plugin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants