Open mtsweir opened 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.
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.