You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to have the build script throw errors if any of the twoslash blocks have errors in them? Took a look through the configs and nothing sticks out.
I'm guessing the reason builds succeed is because of:
My goal is to add some resiliency to future code changes in our docs. I would expect that if the twoslasher throws an error during a build (or maybe even when running dev as well) then the build fails, or at least to be able to opt-in to that kind of behaviour.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to have the
build
script throw errors if any of thetwoslash
blocks have errors in them? Took a look through the configs and nothing sticks out.I'm guessing the reason builds succeed is because of:
vocs/src/vite/plugins/shiki/twoslasher.ts
Line 16 in 6924717
My goal is to add some resiliency to future code changes in our docs. I would expect that if the
twoslasher
throws an error during a build (or maybe even when runningdev
as well) then the build fails, or at least to be able to opt-in to that kind of behaviour.Beta Was this translation helpful? Give feedback.
All reactions