2.0.0 • Published 7 years ago

replace-brunch v2.0.0

Weekly downloads
26
License
MIT
Repository
github
Last release
7 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

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago