quanru / webpack-ast-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

Related Issue & MR

Demo Description

We say a entry file src/index.js, when bundle with webpack, there are two version ast:

the ast-1.json is legal, but ast-2.json is illegal(can't not be traversed by acorn-walk and can't not restore to source code)

diff ast-1.json and ast-2.json

About


Languages

Language:JavaScript 100.0%