-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: Add compiler option, replace Buble with Sucrase #1700
Conversation
Codecov Report
|
Hello guys, I've been looking for these commits in one of the releases to try that out but couldn't find them. Could you confirm me that with @11.2.0 it's still not possible to have typescript example in markdown and in that case could you point me towards the version containing these commits? thanks a lot |
Hey @sapegin, I'm getting this following error with that alpha version. Do I need to set something additional?
|
Replace Bublé with Sucrase: faster, supports more ECMAScript features, like imports (we used to transpile them ourselves), optional chaining, class fields, etc.
Allow custom compilers, like Babel or TypeScript using the new
compilerModule
andcompileExample
option.Closes #462
New docs preview
https://deploy-preview-1700--styleguidist.netlify.app/docs/configuration#compilermodule
https://deploy-preview-1700--styleguidist.netlify.app/docs/configuration#compileexample