Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeanroy committed Jan 14, 2019
1 parent a695b3d commit c6882ce
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const license = require('rollup-plugin-license');
module.exports = {
plugins: [
license({
sourceMap: true,
sourcemap: true,
cwd: '.', // Default is process.cwd()

banner: {
Expand Down Expand Up @@ -101,10 +101,16 @@ license({

## Changelogs

- 0.6.0
- Add `cwd` option to specify custom working directory (optional option).
- 0.8.0
- Deprecate `sourceMap` option (use `sourcemap` option in lowercase) to keep it consistent with rollup.
- Fix deprecate call with rollup >= 1, keep compatibility with legacy versions of rollup.
- Upgrade dependencies.
- 0.7.0
- Add a way to specify custom data object when rendering banner.
- Add `cwd` option to specify custom working directory (optional option).
- Upgrade dependencies.
- 0.6.0
- Upgrade `commenting` dependency.
- 0.5.0
- Feat: Sourcemap is now enable by default to ensure compatibility with other rollup plugins.
- Fix: Add compatibility with rollup >= 0.48.0 (the new `sourcemap` option).
Expand Down

0 comments on commit c6882ce

Please sign in to comment.