8000 GitHub - yyman001/js_es6: js_es6模块编译
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yyman001/js_es6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js es6 编译 es5 环境

相关参考资料

2种ES6 => ES5 的编译环境

  • gulp方式
  • rollup 自带编译方式

安装依赖

main.js 为入口文件,出口文件参考下面说明

npm i
npm 编译 => 参考rollup.config.js
// => npm run build 编译
// => npm run watch 监听文件变化编译
编译输出文件 => dist/rollup_out_es5.js

//------
//gulp 编译
//gulp watch => 参考gulpfile.js
编译输出文件 => dist/gulp_out_es5.js

About

js_es6模块编译

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0