Skip to content

playerljc/CTSJ-TransformPackageES5

Repository files navigation

#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 -g
yarn add @ctsj/transform-package-es5

use

ctpe transform -p src -d dist

Parameter Description

-p: directory to convert

-d: output directory

About

对package进行es5的转换

Resources

License

Stars

Watchers

Forks

Packages

No packages published