Skip to content

Commit

Permalink
ad copy tasks link
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Sep 16, 2021
1 parent 6d40348 commit 4d2c855
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Partytown is a lazy-loaded `6kb` library to help relocate resource intensive scr
- [React](#react)
- [Integrations](#integrations)
- [Vanilla](#vanilla)
- [Copy Task](#copy-tasks)
- [Config](#config)
- [Distribution](#distribution)
- [Development](https://github.com/BuilderIO/partytown/blob/main/DEVELOPER.md#local-development)
Expand Down Expand Up @@ -250,8 +251,7 @@ To load Partytown with just HTML, the library script below should be added withi
<!--End Partytown-->
```

Note that the loaded script _must_ be hosted from the same origin as the HTML page, rather than a CDN. Additionally, the Partytown library should be
hosted from its own dedicated root directory `/~partytown/`. This root directory becomes the [scope](https://developers.google.com/web/ilt/pwa/introduction-to-service-worker#registration_and_scope) for the service worker, and all client-side requests within that path are intercepted by Partytown.
Note that the loaded script _must_ be hosted from the same origin as the HTML page, rather than a CDN. Additionally, the Partytown library should be hosted from its own dedicated root directory `/~partytown/`. This root directory becomes the [scope](https://developers.google.com/web/ilt/pwa/introduction-to-service-worker#registration_and_scope) for the service worker, and all client-side requests within that path are intercepted by Partytown.

With scripts disabled from executing, the Partytown library can lazily begin loading and executing the scripts from inside a worker.

Expand Down Expand Up @@ -288,7 +288,7 @@ module.exports = {

### Config

| Config | Description |
| Config Property | Description |
| -------------------- | ----------------------------------------------------------------- |
| `debug` | Partytown scripts are not inlined and not minified. |
| `forward` | An array of strings. See [Forwarding Events](#forwarding-events). |
Expand Down

1 comment on commit 4d2c855

@vercel
Copy link

@vercel vercel bot commented on 4d2c855 Sep 16, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.