会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小小猫钓小小鱼
博客园
首页
新随笔
联系
订阅
管理
2020年7月24日
【webpack】中library的作用
摘要: webpack默认打包之后的代码形式是这样的(假设我导出 module.exports = 'hello world' ) (function () { return 'hello world' })() 注意:代码是一个自执行函数,外界想获取函数里面的返回值怎么办(也就是模块的导出结果 hello
阅读全文
posted @ 2020-07-24 08:56 h2z
阅读(581)
评论(0)
推荐(0)
编辑
公告