Skip to content

Commit

Permalink
README: Remove svgo workaround as it's unneeded in astro 1.0 (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasikpark authored Oct 20, 2022
1 parent 60c7304 commit 41b0b76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-squids-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro-icon": patch
---

Update README to drop SVGO workaround recommendation
15 changes: 1 addition & 14 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,14 @@

A straight-forward `Icon` component for [Astro](https://astro.build).

## Setup

1. Install `astro-icon`.
## Install `astro-icon`.

```bash
npm i astro-icon
# or
yarn add astro-icon
```

2. Add the following to your `astro.config.mjs` file. See [Issue #2](https://github.com/natemoo-re/astro-icon/issues/2).

```js
export default {
vite: {
ssr: {
external: ["svgo"],
},
},
};
```

## Icon Packs

Expand Down

2 comments on commit 41b0b76

@vercel
Copy link

@vercel vercel bot commented on 41b0b76 Oct 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

astroicon – ./packages/www/

astroicon-nmoo.vercel.app
astroicon-git-main-nmoo.vercel.app
astro-icon-www.vercel.app
astroicon.dev
www.astroicon.dev

@vercel
Copy link

@vercel vercel bot commented on 41b0b76 Oct 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

api-astroicon – ./packages/service

api.astroicon.dev
api-astroicon-nmoo.vercel.app
api-astroicon-git-main-nmoo.vercel.app

Please sign in to comment.