Skip to content

Commit

Permalink
Merge branch 'release/1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Nov 12, 2021
2 parents 92a3724 + 5cf64e1 commit 32dc0b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## 1.1.1 - 2021.11.11
### Fixed
* Output the generated images without a hash in the names

## 1.1.0 - 2021.11.06
### Added
* Added the ability to set `inject: false` in the passed in plugin config, to generate the `webapp.html` file ([#2](https://github.com/josh-hemphill/vite-plugin-favicon/pull/2))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-favicon2",
"version": "1.1.0",
"version": "1.1.1",
"description": "Create and manage favicons for vite bundles, mostly compatible with the config of favicons-webpack-plugin",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const ViteFaviconsPlugin = (options: FaviconsPluginArgs = {} ): Plugin =>
assetIds.set(name, ctx.emitFile({type: 'asset', fileName: name, source: contents}));
}
for (const {name, contents} of res.images) {
assetIds.set(name, ctx.emitFile({type: 'asset', name, source: contents}));
assetIds.set(name, ctx.emitFile({type: 'asset', fileName: name, source: contents}));
}
if (!lOptions.inject) {
const name = 'webapp.html';
Expand Down

0 comments on commit 32dc0b7

Please sign in to comment.