Skip to content

Commit

Permalink
add banner with Mocha version
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Jun 6, 2021
1 parent 2fd4d0c commit dfdfdef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rollup.config.js
Expand Up @@ -10,6 +10,7 @@ import {babel} from '@rollup/plugin-babel';
import visualizer from 'rollup-plugin-visualizer';

import pickFromPackageJson from './scripts/pick-from-package-json';
import {version} from './package.json';

const config = {
input: './browser-entry.js',
Expand All @@ -18,6 +19,7 @@ const config = {
format: 'umd',
sourcemap: true,
name: 'mocha',
banner: `// mocha@${version} transpiled to javascript ES5`,
intro: 'var regeneratorRuntime;'
},
plugins: [
Expand Down

0 comments on commit dfdfdef

Please sign in to comment.