-
-
Notifications
You must be signed in to change notification settings - Fork 54
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 transpile
option (options.transpile
)
#47
Conversation
transpile
option (options.transpile
)
@@ -56,6 +56,7 @@ module.exports = { | |||
|:--:|:-----:|:----------| | |||
|**`literate`**|`false`|Enable CoffeeScript in Markdown (Code Blocks) e.g `file.coffee.md`| | |||
|**`sourceMap`**|`false`|Enable/Disable Sourcemaps| | |||
|**`transpile`**|`false`|Provide Babel presets and plugins| |
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.
Coffeescript uses babel under the hood by default or are other transpilers possible in theory ?
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.
Yeah, there is a built in support only for Babel as I see.
README.md
Outdated
@@ -99,6 +100,31 @@ module.exports = { | |||
} | |||
``` | |||
|
|||
### [Transpile](http://coffeescript.org/#transpilation) |
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.
Could you do my a favour and wrap all headings in backticks please ? 😛 \### [Transpile]()
=> \### [`Transpile`]()
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.
Okay.
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.
@vladflip Thx
@vladflip Does this feature have any version restrictions e.g |
@michael-ciniawsky It's a new feature yes, just checked with older |
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.
Be good add tests, but no tests in this repo 😞
@evilebottnawi I don't see any tests in this repo |
hope to see in release quickly |
@jamesruan its already there |
@vladflip It's in the repo, but not quite released. |
Added transpile option.
http://coffeescript.org/#transpilation