Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 7 additions & 39 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,39 +1,7 @@
node_modules
*.log
dist
test-lib/**/*.js
coverage
.history
.nyc_output
.idea
.vscode
.next
firebase.json
temp
yarn-error.log
.build
Pods/

**/xcuserdata/*
**/build/*

**/.pnp.*
**/.yarn/*
!**/.yarn/patches
!**/.yarn/plugins
!**/.yarn/releases
!**/.yarn/sdks
!**/.yarn/versions

# macOS
.DS_Store

.cache
.rpt2_cache/

.env
.vercel

.nx-cache

!packages/sdks/e2e/react-native/.eas/build/*
/nbproject/
/.idea/*
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project
2 changes: 1 addition & 1 deletion packages/react/src/blocks/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ class ImageComponent extends React.Component<any, { imageLoaded: boolean; load:
{amp ? (
imageContents
) : (
<picture ref={ref => (this.pictureRef = ref)}>
<picture css={{display: 'contents'}} ref={ref => (this.pictureRef = ref)}>
{srcset && srcset.match(/builder\.io/) && !this.props.noWebp && (
<source srcSet={srcset.replace(/\?/g, '?format=webp&')} type="image/webp" />
)}
Expand Down