Skip to content

Fix #6487 specify which Sandpack files go into a src directory - #6496

Merged
mattcarrollcode merged 2 commits into
reactjs:mainfrom
geeseyj:fix-sandpack-files
Dec 15, 2023
Merged

Fix #6487 specify which Sandpack files go into a src directory#6496
mattcarrollcode merged 2 commits into
reactjs:mainfrom
geeseyj:fix-sandpack-files

Conversation

@geeseyj

@geeseyjgeeseyj commented Dec 15, 2023

Copy link
Copy Markdown
Contributor

Preface: #6487

This PR removes the assumption that all Sandpack example files should be put into a /src/ folder and instead does so explicitly on only that files that need it.

preview

@github-actions

github-actionsBot commented Dec 15, 2023

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@geeseyjgeeseyj changed the title Fix #6487 specify which sandbox files go in src directoryFix #6487 specify which Sandpack files go into a src directoryDec 15, 2023
@mattcarrollcode

Copy link
Copy Markdown
Contributor

@geeseyj Thanks for identifying and writing up a fix! This looks like a lot of monotonous work, thank you for doing this. The general approach looks good I'm taking a closer look now.

@geeseyj

Copy link
Copy Markdown
ContributorAuthor

I just found a few stragglers 😅 🤦 un momento

@mattcarrollcodemattcarrollcode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks, merging

@mattcarrollcode
mattcarrollcode merged commit bb65ace into reactjs:mainDec 15, 2023
@geeseyj

Copy link
Copy Markdown
ContributorAuthor

Thanks!

@geeseyj Thanks for identifying and writing up a fix! This looks like a lot of monotonous work, thank you for doing this. The general approach looks good I'm taking a closer look now.

Luckily regexr was able to help me out hah regexr.com/7p78p

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@geeseyj@mattcarrollcode@facebook-github-bot