Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sandpack-react): build ReactDevTools component #833

Closed
wants to merge 1 commit into from

Conversation

jeetiss
Copy link
Contributor

@jeetiss jeetiss commented Mar 11, 2023

Upgrades rollup.config to build ReactDevTools properly and moves types generations to rollup

fix: #712

@vercel
Copy link

vercel bot commented Mar 11, 2023

@jeetiss is attempting to deploy a commit to the CodeSandbox Team on Vercel.

A member of the Team first needs to authorize it.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c2577f2:

Sandbox Source
Sandpack Configuration
agitated-https-trm5cu Configuration

Copy link
Member

@danilowoz danilowoz left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution, but I don't think we can merge it (see comments)

@@ -20,8 +20,7 @@
"prebuild": "yarn run clean",
"test": "TEST_ENV=true jest . --transformIgnorePatterns \"node_modules/(?!@codemirror)/\" --modulePathIgnorePatterns \"e2e\"",
"lint": "eslint '**/*.ts?(x)' --fix",
"build": "rollup -c && yarn build:types",
"build:types": "tsc -p tsconfig.json",
"build": "rollup -c --bundleConfigAsCjs",
Copy link
Member

Choose a reason for hiding this comment

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

We're making this very same change on #798

Copy link
Member

Choose a reason for hiding this comment

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

Feel free to contribute there too

@@ -7,3 +7,4 @@ export * from "./Preview";
export * from "./TranspiledCode";
export * from "./Tests";
export * from "./Console";
export * from "./ReactDevTools";
Copy link
Member

Choose a reason for hiding this comment

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

ReactDevTools is not currently working, that's why it hasn't been exported

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, i miss that)

@jeetiss jeetiss closed this Mar 12, 2023
@jeetiss jeetiss deleted the react-dev-tools branch March 12, 2023 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

React DevTools component is not available
2 participants