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

Need different path convention for destination output. #15

Open
gigablox opened this issue Apr 11, 2013 · 3 comments
Open

Need different path convention for destination output. #15

gigablox opened this issue Apr 11, 2013 · 3 comments

Comments

@gigablox
Copy link

Consider the doc root:

Gruntfile.js
static/css/app.css
static/img//.

Inside static/css/app.css:

.test{background: url('../img/test1.png');}

And the Grunt config:

imageEmbed: {
  test: {
    src: ['<%= pkg.staticRoot %>/css/app.css'],
    dest: '<%= pkg.staticRoot %>/app.css'
  }
}

In this situation, the output is not longer relative to the absolute paths when the task is executed and causes something like this:

Warning: File /var/www/html/test/tasks/../img/test1.png does not exist Use --force to continue.

Thoughts?

@jreading
Copy link

I'm having the same problem. What are we missing?

@Guuz
Copy link

Guuz commented Jun 13, 2013

👍

@ehynds
Copy link
Owner

ehynds commented Jun 13, 2013

Possible dupe of #10? I just pushed an update to npm with #10's bug fix - can you give it a spin?

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

No branches or pull requests

4 participants