A framework-agnostic, universal document renderer with optional chunked loading polyrender.wisp.place/
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix issues with examples

aria c6b2122f f2af499e

+2 -2
+1 -1
examples/basic/vite.config.ts
··· 37 37 enforce: 'pre', 38 38 transform(code: string, id: string) { 39 39 // Only transform the @polyrender/core bundle 40 - if (!id.includes('polyrender')) return 40 + if (!id.includes('packages/core')) return 41 41 if (!code.includes('moduleName')) return 42 42 43 43 // Replace `await import(moduleName)` or `await import(\n moduleName\n)`
+1 -1
examples/vanilla/build.js
··· 20 20 const resolvePeerDeps = { 21 21 name: "resolve-peer-deps", 22 22 setup(build) { 23 - build.onLoad({ filter: /polyrender.*\.(js|ts)$/ }, async (args) => { 23 + build.onLoad({ filter: /packages[\\/]core.*\.(js|ts)$/ }, async (args) => { 24 24 const fs = await import("fs"); 25 25 let contents = fs.readFileSync(args.path, "utf8"); 26 26