tldraw/apps/docs
Mitja Bezenšek 21cefc77f5
Use unpkg as a default for serving assets. (#1548)
Use unpkg to host our assets and use that as a default. This will smooth
out the first run experience.

The way this works for different use cases:
- It doesn't change the asset loading for VS Code extension and
tldraw.com
- When running our examples (and our local development) [we still
override the
urls](4a9ef5044c/apps/examples/src/index.tsx (L32-L34))
to use the assets from the filesystem. This allows the assets to still
update when you change them.
- When you use our `Tldraw` component and when just copying the examples
code we will now serve the assets from unpkg by default.

I guess it's a breaking change since we will now use unpkg by default.

### Change Type

- [x] `major` — Breaking Change

### Release Notes

- Use unpkg asset hosting as a default.
2023-06-07 21:01:38 +00:00
..
components [docs] editor API (#1328) 2023-05-07 19:10:59 +01:00
content Use unpkg as a default for serving assets. (#1548) 2023-06-07 21:01:38 +00:00
pages [improvement] readme / contributing (#1199) 2023-05-03 08:32:52 +00:00
public [docs] editor API (#1328) 2023-05-07 19:10:59 +01:00
scripts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
styles [feature] add laser pointer (#1412) 2023-05-19 11:09:13 +00:00
types transfer-out: transfer out 2023-04-25 12:01:25 +01:00
utils transfer-out: transfer out 2023-04-25 12:01:25 +01:00
.eslintrc.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
.gitignore transfer-out: transfer out 2023-04-25 12:01:25 +01:00
CHANGELOG.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
content.d.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
LICENSE readmes 2023-05-04 13:47:56 +01:00
next.config.js transfer-out: transfer out 2023-04-25 12:01:25 +01:00
package.json update lazyrepo 2023-06-05 18:32:32 +01:00
README.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tsconfig.content.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tsconfig.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00

tldraw-docs

tldraw