摘要:
We want to write a Babel Plugin, which move 'const versionRegex = /(/d+)\.(/d+)\.(/d+)/gi' out of function scope and put it into global scope. Code: A 阅读全文
posted @ 2017-09-24 18:26
Zhentiw
阅读(370)
评论(0)
推荐(0)
摘要:
To write a simple Babel plugin, we can use http://astexplorer.net/ to help us. The plugin we want to write is: We want to trasnform the code which hig 阅读全文
posted @ 2017-09-24 18:24
Zhentiw
阅读(305)
评论(0)
推荐(0)

浙公网安备 33010602011771号