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

addRootSlash: false is ineffective when used with ignorePath #10

Closed
dman777 opened this issue Jul 15, 2014 · 1 comment
Closed

addRootSlash: false is ineffective when used with ignorePath #10

dman777 opened this issue Jul 15, 2014 · 1 comment

Comments

@dman777
Copy link

dman777 commented Jul 15, 2014

        injector: {
            options: {
            destFile : 'app/static/index.html',
            addRootSlash: false,
            ignorePath: 'app/static'
            }, 
                files: {
                    expand: true,
                    cwd: 'app/static/css',
                    src: ['*.css'],
                    dest: '../',
                    ext: '.css'
                    }
        }, 

There will be a root slash prefix when there should not be

@dman777
Copy link
Author

dman777 commented Jul 15, 2014

However, this can be overcome with ignorePath: 'app/static/'....note the trailing slash

joakimbeng added a commit that referenced this issue Jul 16, 2014
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

2 participants