Skip to content

Commit

Permalink
Update linker to provide new webviewAssets field (#22)
Browse files Browse the repository at this point in the history
## 💸 TL;DR
- Updated local asset support to provide webview assets from the new map
in the bundle.
- Cleaned up uses a bit

## 🧪 Testing Steps / Validation
<!-- add details on how this PR has been tested, include reproductions
and screenshots where applicable -->

## ✅ Checks
<!-- Make sure your pr passes the CI checks and do check the following
fields as needed - -->
- [ ] CI tests (if present) are passing
- [ ] Adheres to code style for repo
- [ ] Contributor License Agreement (CLA) completed if not a Reddit
employee
  • Loading branch information
ObsidianSnoo authored Jun 17, 2024
1 parent 9afb695 commit c1e6228
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 272 deletions.
223 changes: 56 additions & 167 deletions package-lock.json

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

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"@codemirror/lint": "6.5.0",
"@codemirror/state": "6.4.1",
"@codemirror/view": "6.26.3",
"@devvit/previews": "0.10.21-next-2024-05-13-b48ce196f.0",
"@devvit/protos": "0.10.21-next-2024-05-13-b48ce196f.0",
"@devvit/public-api": "0.10.21-next-2024-05-13-b48ce196f.0",
"@devvit/runtime-lite": "0.10.21-next-2024-05-13-b48ce196f.0",
"@devvit/shared-types": "0.10.21-next-2024-05-13-b48ce196f.0",
"@devvit/ui-renderer": "0.10.21-next-2024-05-13-b48ce196f.0",
"@devvit/previews": "0.10.23-next-2024-06-13-cad38246a.0",
"@devvit/protos": "0.10.23-next-2024-06-13-cad38246a.0",
"@devvit/public-api": "0.10.23-next-2024-06-13-cad38246a.0",
"@devvit/runtime-lite": "0.10.23-next-2024-06-13-cad38246a.0",
"@devvit/shared-types": "0.10.23-next-2024-06-13-cad38246a.0",
"@devvit/ui-renderer": "0.10.23-next-2024-06-13-cad38246a.0",
"@esm-bundle/chai": "4.3.4-fix.0",
"@types/jsdom": "21.1.6",
"@types/mocha": "10.0.6",
Expand Down Expand Up @@ -60,8 +60,8 @@
"gzip": "3.5 KB"
},
"dist/play-pen.js": {
"none": "37000 KB",
"gzip": "5400 KB"
"none": "37200 KB",
"gzip": "5410 KB"
}
},
"typesVersions": {
Expand Down
Loading

0 comments on commit c1e6228

Please sign in to comment.