UNPKG

rollup-plugin-version-injector

Version:

A simple rollup.js plugin to inject your application's version number and/or today's date into your built js, html, and css files!

17 lines 453 B
export const defaultConfig = { injectInComments: { fileRegexp: /\.(js|html|css)$/, tag: 'Version: {version} - {date}', dateFormat: 'mmmm d, yyyy HH:MM:ss' }, injectInTags: { fileRegexp: /\.(js|html|css)$/, tagId: 'VI', dateFormat: 'mmmm d, yyyy HH:MM:ss' }, packageJson: './package.json', logLevel: 'info', logger: console, exclude: [] }; //# sourceMappingURL=config.js.map