A React component library for rendering common AT Protocol records for applications such as Bluesky and Leaflet.
40
fork

Configure Feed

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

add back styles.css in vite

+9 -2
+1 -1
package.json
··· 1 1 { 2 2 "name": "atproto-ui", 3 - "version": "0.11.2", 3 + "version": "0.11.2-1", 4 4 "type": "module", 5 5 "description": "React components and hooks for rendering AT Protocol records.", 6 6 "main": "./lib-dist/index.js",
+8 -1
vite.config.ts
··· 62 62 output: { 63 63 preserveModules: true, 64 64 preserveModulesRoot: 'lib', 65 - entryFileNames: '[name].js' 65 + entryFileNames: '[name].js', 66 + assetFileNames: (assetInfo) => { 67 + // Output CSS to root of lib-dist as styles.css 68 + if (assetInfo.name && assetInfo.name.endsWith('.css')) { 69 + return 'styles.css'; 70 + } 71 + return 'assets/[name][extname]'; 72 + } 66 73 } 67 74 }, 68 75 }