Comments (3)
海的目标还在的,至于如何通过技术实现自动wrapper,只不过是在权衡多少需要我们帮忙做掉,多少不需要做掉。
使用seajs,可以就单独用jQuery构造起来一个应用,一样也可以通过KISSY构造起来另外一个应用,但是应用内部,使用者有责任去做选择,要么使用jQuery,要么使用其他类似的。
spm的目标,仅仅是wrapping工具,模块推荐,至于怎么组合这些模块,不用太关心,jquery插件,就是一个依赖jquery的三方包么?部分npm的模块,一样会在内部依赖一些第三方模块,这种关系本应存在。
css,图片等静态资源的wrapping,需要好好过滤一下,哪些要做,哪些不做。不做的,使用者自行在其他地方去添加引用。
from spm.
https://github.com/seajs/spm/issues/36
参考这一个feature,提供整个package的时候,css/image等信息可以保留原来的相对路径,进行引用。
from spm.
转移到 dew 项目,按照实际项目的需求,手动封装甚至重写某些复杂模块。
选择权交给用户自己,但鼓励用户将封装过的模块,尽可能分享出来。
from spm.
Related Issues (20)
- 有没有计划babel升到6? HOT 2
- standlone 如何构建tpl,html 静态文件 HOT 2
- 搜组件名 http://spmjs.io/search?q=paging 搜索不到包 HOT 1
- 通过spm-sea 打包过后的路径不对 HOT 1
- 如何拷贝目录下的全部文件? HOT 1
- farewell spm, hello ant-tool HOT 9
- 安装spm报错 HOT 3
- spm3.7beta使用中总结遭遇的2个困惑 HOT 11
- 如何只打包特定目录下的所有js文件? HOT 1
- spm test && spm doc 执行时会将 global 配置应用到 test && example 文件 HOT 2
- spm server 打不开http://127.0.0.1:8000/ HOT 1
- spm doc的时候出错 HOT 2
- spm init没有工作 HOT 4
- 执行standalone命令出错 HOT 1
- Failed at the [email protected] install script 'node install.js'. HOT 4
- 好不容易装上了,但无论运行什么命令都报错
- spm上的jQuery无法下载安装,导致打包失败 HOT 1
- spm初始化没有src目录
- spmjs.io访问不了了 HOT 1
- spmjs.io域名到期了?仓库不能用了。。。 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spm.