Skip to content

Commit

Permalink
1.1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Jan 14, 2023
1 parent 1d394c6 commit e8f0b8b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.26

- Bug fix

## 1.1.25

- Cleanup
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "astro-critters",
"version": "1.1.25",
"version": "1.1.26",
"type": "module",
"description": "🦔 AstroJS GoogleChromeLabs critters integration. Inline your critical CSS with Astro.",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export default (options: Options = {}): AstroIntegration => {
name: "astro-critters",
hooks: {
"astro:build:done": async () => {
if (!options["critters"]) {
return;
}

for (const path of paths) {
const _path = await applyTo(path, (url: URL | string) =>
url instanceof URL ? fileURLToPath(url) : url
Expand Down

0 comments on commit e8f0b8b

Please sign in to comment.