tactivos / grunt-cdn

79 stars 53 forks source link

Combining paths not wanted #74

Open mtsweir opened 8 years ago

mtsweir commented 8 years ago

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.