tldraw/scripts/lib
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
..
add-extensions.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
eslint-plugin.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
exec.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
file.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
nicelog.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
publishing.ts Use unpkg as a default for serving assets. (#1548) 2023-06-07 21:01:38 +00:00
sort-unions.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
workspace.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00