grunt-sed
grunt-sed copied to clipboard
Grunt plugin for search and replace.
e.g. replace_color_in_svgs: { path: EXPORT_PATH + '/images/*.svg', pattern: '#95C11F', replacement: grunt.option('main-color') || '#95C11F' }
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:...
Update peerDependencies to support Grunt 1.0 Hello, This is an automated issue request to update the `peerDependencies` for your Grunt plugin. We ask you to merge this and **publish a...
This adds the exclude option, enabling exclusion of directories and files
I got one general config file. To DRY my `Gruntfile` I implemented configuring of `path` globally.
I was working on a minor change to cleanup generated source maps and used grunt-sed at first but had to switch after noticing that it was only replacing the first...
So, I dug in a bit. It appears to be basically running a `sed -i` command, replacing the current file with the updates. Is it possible have an output file...