gruntjs - grunt-text-replace doesn't work -
i installed grunt-text-replace
npm install grunt-text-replace --save-dev
command , add grunt.loadnpmtasks('grunt-text-replace');
gruntfile.js
, add write this:
replace: { example: { src: ['css/mystyle.css'], overwrite: true, replacements: [{ from: 'wizard', // string replacement to: 'wizardstep' }] } }
then run grunt replace
in command line , after show me done, without error
replacement doesn't work , applied.
unfortunately entered path incorrectly , other hand grunt-text-replace
doesn't show me message if source file path incorrect.
just correct source path
Comments
Post a Comment