grunt-sed icon indicating copy to clipboard operation
grunt-sed copied to clipboard

Allow to use wildcards in path

Open zlorf opened this issue 10 years ago • 3 comments

It would be nice if sed allow to use wildcards and other goodies available in most of grunt tasks (http://gruntjs.com/configuring-tasks#globbing-patterns), for example:

sed:
    all_api_url:
        path: "build/**/*.{js,html}"
        pattern: '%API%'
        replacement: "<%= config.api_url %>"

For now it fails: Warning: ENOENT, no such file or directory.

zlorf avatar May 19 '14 12:05 zlorf

Pull requests welcomed :smile:

jharding avatar Jul 09 '14 18:07 jharding

+1

vdininski avatar Jul 16 '15 07:07 vdininski

https://github.com/jharding/grunt-sed/pull/18

daniel-rabe avatar Apr 27 '17 09:04 daniel-rabe