Skip to content

Commit

Permalink
Merge branch 'release/v1.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
klich3 committed Jul 23, 2024
2 parents bbfd78c + 2f131d7 commit ea803d7
Show file tree
Hide file tree
Showing 9 changed files with 4,794 additions and 13 deletions.
9 changes: 7 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ authors:
family-names: Sychev
affiliation: too
repository-code: "https://github.com/klich3/credits-log"
abstract: Rollup plugin to add credits message on debug console
abstract: Rollup plugin to add credits message on user browser debug console.
keywords:
- npm
- rollup
Expand All @@ -22,5 +22,10 @@ keywords:
- cli
- contributors
- humans
- credits
- log
- console
- vite
- frontend
license: MIT
version: 1.0.4
version: 1.0.5
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,27 @@ export default defineConfig({
});
```

## Extension

Now there is a new parameter to implement: `frontEnd: true`, that when placed in front end pressing the `F1` key will show a floating window with Credits of the project.

```javascript
//vite.config.json
import creditslog from "credits-log"

export default defineConfig({
...
plugins: [
...
creditslog({
frontEnd: true
})
...
],
...
});
```

---

## Parameteres in `package.json`
Expand Down
4 changes: 3 additions & 1 deletion _test_project_commonjs/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ module.exports = defineConfig({
},
],
},
plugins: [creditslog()],
plugins: [creditslog({
frontEnd: true
})],
});
Loading

0 comments on commit ea803d7

Please sign in to comment.