@ctsj/transform-package-es5
v1.0.3
Published
对package进行es5的转换
Readme
#TransformPackageES5
Simplified Chinese | English
Convert the package to es5
Introduction
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.
Install
npm install @ctsj/transform-package-es5 -gyarn add @ctsj/transform-package-es5use
ctpe transform -p src -d distParameter Description
-p: directory to convert
-d: output directory
