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

Combining paths not wanted #74

Open
mtsweir opened this issue Feb 13, 2016 · 0 comments
Open

Combining paths not wanted #74

mtsweir opened this issue Feb 13, 2016 · 0 comments

Comments

@mtsweir
Copy link

mtsweir commented Feb 13, 2016

How can I make this so it just outputs exactly whats in the cdn path only?

I have my dev files in another directory name of the project so I end up with both cdn and local paths combined. My settings are:

src_images: {
options: {
cdn: 'http://www.website-name.com/newsletters/img/',
flatten: true,
supportedTypes: 'html'
},
cwd: './dist',
dest: './dist',
src: ['*.html']
}

The resulting output ends up being:

http://www.website-name.com/newsletters/img/src/img/logo.png

So the cdn is getting appended to the src folder.

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

1 participant