而如果用browserify,因为模块之间的引用,通过 require 完成。与node 模块编写方式一致,此外,入口文件只需要一个。 // a module exports.someFunc = ...
確定! 回上一頁