to increase the speed of my development, I would like to use commonjs for my client and server javascript, so I can use a common code base / libraries in all my projects. Why not AMD? browsers and node support AMD, but phantomjs does not, and I can move on to this later to create optimal (browsers) production collections.
Looking around, I canβt find ANY loader module that directly supports CommonJS. You always have to write / etc wrappers on top of them or require a reload of configurations.
Do I have any options?
commonjs
Jasons
source share