1.0.0 • Published 2 years ago

clb_es62es5 v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

node发包

  • 回顾

    npm 怎么发一个包

    1. 注册 npm官网

    2. npm init

      name : 不能有大写 不能有空格 xxx-xxx

      包的name webpack

    3. npm config set restory npm镜像

    4. npm login

    5. npm publish

  • npm i

  • let sss = Requrire('linux')

为什么没有es6的语法 ie6 findIndex

写的代码 是es6 发包之后不允许出现es6

import export ==>不包含es6的导入导出

babel / webpack

babel : 应该下载到什么环境 开发or生产

工具包 : 开发环境

线上用的包/ 效果 : 生产环境

development