profile
viewpoint

Ask questionsFeature: Transform object literals to JSON.parse()

JSON.parse() is faster than parsing javascript object literals. If an object is serializable to JSON, emit it as a JSON.parse invocation.

Expose behavior through configuration.

babel babel-plugin-object-to-json-parse webpack use JSON.parse(jsonSource) for JSON modules

swc-project/swc

Answer questions kdy1

I'll implement this in rust, and will expose like jsc.optimize.xxx

useful!
source:https://uonfu.com/
Github User Rank List