#TransformPackageES5
Simplified Chinese | English
Some packages on npm are not converted to es5, or only partially converted. When we build the host project, we will not build the third-party packages in node_modules. This library is used for building tools (such as webpack). etc.) The constructed js is converted to es5 again.
npm install @ctsj/transform-package-es5 -g
yarn add @ctsj/transform-package-es5
ctpe transform -p src -d dist
-p: directory to convert
-d: output directory