replace-brunch
2.0.0 • Public • Published replace-brunch
Usage
Install the plugin via npm with npm install --save-dev replace-brunch
.
Configuration
module.exports = {
plugins: {
replace: {
encoding: 'utf8',
log: true,
mapping: {
'date': (new Date()).toISOString(),
'timestamp': Math.floor(Date.now() / 1000)
},
paths: [
'public/index.html',
'public/js/app.js'
],
replacePrefix: '{!',
replaceSuffix: '!}'
}
}
};
/replace-brunch/
//
Package Sidebar
Install
Weekly Downloads