custom element for embedding Bluesky posts and feeds mary-ext.github.io/bluesky-embed
typescript npm bluesky atcute

chore: suppress state_referenced_locally warnings

mary.my.id a4f12f8b 88d5c370

verified
Changed files
+41
packages
bluesky-post-embed
bluesky-profile-card-embed
bluesky-profile-feed-embed
internal
+8
packages/bluesky-post-embed/svelte.config.js
··· 1 + export default { 2 + compilerOptions: { 3 + warningFilter: (warning) => { 4 + if (warning.code === 'state_referenced_locally') return false; 5 + return true; 6 + }, 7 + }, 8 + };
+3
packages/bluesky-post-embed/vite.config.ts
··· 90 90 } 91 91 92 92 for (const warn of warnings) { 93 + if (warn.code === 'state_referenced_locally') { 94 + continue; 95 + } 93 96 this.warn(warn); 94 97 } 95 98
+8
packages/bluesky-profile-card-embed/svelte.config.js
··· 1 + export default { 2 + compilerOptions: { 3 + warningFilter: (warning) => { 4 + if (warning.code === 'state_referenced_locally') return false; 5 + return true; 6 + }, 7 + }, 8 + };
+3
packages/bluesky-profile-card-embed/vite.config.ts
··· 90 90 } 91 91 92 92 for (const warn of warnings) { 93 + if (warn.code === 'state_referenced_locally') { 94 + continue; 95 + } 93 96 this.warn(warn); 94 97 } 95 98
+8
packages/bluesky-profile-feed-embed/svelte.config.js
··· 1 + export default { 2 + compilerOptions: { 3 + warningFilter: (warning) => { 4 + if (warning.code === 'state_referenced_locally') return false; 5 + return true; 6 + }, 7 + }, 8 + };
+3
packages/bluesky-profile-feed-embed/vite.config.ts
··· 87 87 } 88 88 89 89 for (const warn of warnings) { 90 + if (warn.code === 'state_referenced_locally') { 91 + continue; 92 + } 90 93 this.warn(warn); 91 94 } 92 95
+8
packages/internal/svelte.config.js
··· 1 + export default { 2 + compilerOptions: { 3 + warningFilter: (warning) => { 4 + if (warning.code === 'state_referenced_locally') return false; 5 + return true; 6 + }, 7 + }, 8 + };