2.0.0 • Published 10 years ago

replace-brunch v2.0.0

Weekly downloads
26
License
MIT
Repository
github
Last release
10 years ago

replace-brunch

Build Status

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: '!}'
        }
    }
};
2.0.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago