-
Notifications
You must be signed in to change notification settings - Fork 382
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
Conversation
@jeetiss is attempting to deploy a commit to the CodeSandbox Team on Vercel. A member of the Team first needs to authorize it. |
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:
|
There was a problem hiding this 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", |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, i miss that)
Upgrades
rollup.config
to buildReactDevTools
properly and moves types generations to rollupfix: #712