New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
seajs 打包之后 require返回的对象为null #1488
Comments
那个是工具用的,提前解析。如果遇到这个参数就不即时解析加快速度了。第2个参数是undefined,自然没有 |
我刚刚测试发现 如果 就是说 那么问题来了!为什么我的spm2打包的时候 就只自动添加第一个依赖 |
另外 请教一个问题 之前 我想用spm3的 但是spm3不能直接打包在本地。 后来放弃了。 后来看了些spm3的资料, 了解到 现在都写成 commonjs规范的 打包的时候 线上再把它封装成 cmd的。 然后再下载下来用。。。 我对 spm3 的理解对吗?那我在实际写业务模块的时候 不是很麻烦么。并且我上传的业务模块不是大家能用的。 我也并不希望敏感的 业务模块上传到spmjs.io上。 这时候 我怎么使用spm3呢? |
spm3可以本地打包 |
|
我用spm2打包 ,又有个问题 前者是加载文件,后者是加载模块 |
@honger05 |
这样 返回的 $ 、Utils 都为 null 。
, [ "$-debug" ]
把依赖删除了 就 正常了。为什么啊!
The text was updated successfully, but these errors were encountered: