billfeller.github.io
billfeller.github.io copied to clipboard
前端模块化开发那点历史
前端模块化开发那点历史: https://github.com/seajs/seajs/issues/588 AMD, CMD, CommonJS和UMD: https://segmentfault.com/a/1190000004873947 AMD (中文版): https://github.com/amdjs/amdjs-api/wiki/AMD-(%E4%B8%AD%E6%96%87%E7%89%88) 关于AMD,CMD,CommonJS及UMD规范: http://blog.gejiawen.com/2015/11/03/what-is-amd-cmd-commonjs-umd/ hat Is AMD, CommonJS, and UMD?: https://www.davidbcalhoun.com/2014/what-is-amd-commonjs-and-umd/
协议 | 实现 |
---|---|
CommonJS | Node.js |
AMD | require.js |
CMD | sea.js |
ES Module | ECMAScript6 |