components / zepto

Shim repository for Zepto.js.
https://github.com/madrobby/zepto
21 stars 26 forks source link

Repo doesn't include optional modules #1

Open jhummel opened 11 years ago

jhummel commented 11 years ago

The zepto.js file contained within seems to not include the optional modules. (like touch.js). Would it make sense to include something like zepto.full.js with a build of all the modules, or just include the optional modules as separate files?

ChrisAntaki commented 11 years ago

Having them as separate files would be sweet. :+1:

mislav commented 10 years ago

:+1: for separate files. However, you will need to know which modules depend on other optional modules when you manually require extra files.

RobLoach commented 10 years ago

Perhaps we'd have separate repositories for the modules and have components/zepto as a dependency?

brunowego commented 9 years ago

+1

stereobooster commented 8 years ago

However, you will need to know which modules depend on other optional modules when you manually require extra files.

There are different ways to address this issue. Let's discuss and decide

  1. ES6 import + rollup
  2. AMD + webpack
  3. Throw runtime exception if dependencies are missing
  4. Manual instructions in readme.md
RobLoach commented 8 years ago

Add browserify in there too.