Skip to content

v0.2.0

Compare
Choose a tag to compare
@antfu antfu released this 02 Jan 06:59
· 366 commits to master since this release

⚠ BREAKING CHANGE: compile API change

The first argument lang move to option, please switch to new API.

//before
compile('js', source, { ... })
// after
compile(source, { lang: 'js', ... })

The old API is still functional for temporary backward compatible, the support will be REMOVED in the next minor update.

Wenyan Snippets Site, #459

Please do check it out. Any feedbacks are welcome!

New Execute API

Check out API Document and #473

Fixes

Docs