8000 Combining paths not wanted · Issue #74 · tactivos/grunt-cdn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.
This repository was archived by the owner on May 23, 2025. It is now read-only.
Combining paths not wanted #74
Open
@mtsweir

Description

@mtsweir

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0