alanshaw / grunt-include-replace

Grunt task to include files and replace variables. Allows for parameterised includes.
MIT License
200 stars 45 forks source link

Wrong dest path #26

Closed FrankFang closed 10 years ago

FrankFang commented 10 years ago

My config

    includereplace: {
        dev: {
            src: 'app/*.html',
            dest: '.tmp/'
        }
    }

When I run grunt includereplace -v, got this

Running "includereplace:dev" (includereplace) task
Verifying property includereplace.dev exists in config...OK
Files: app/404.html, app/about.html, app/admin.html, app/all_day_look.html, app/faq.html, app/how_it_works.html, app/index.html, app/team.html -> .tmp/ ...
Reading app/index.html...OK
Writing .tmp/app/index.html...OK
>> Processed app/index.html

It's writing .tmp/app/index.html but not .tmp/index.html. How can I make it work as I expected?

alanshaw commented 10 years ago

See https://github.com/alanshaw/grunt-include-replace/pull/24