Backbone deps test
✓ Published0🌍 Public
Aakre54
Last edited Jun 20, 2015
Created on May 28, 2015
This example demonstrates how Backbone and Zepto are bundled together using webpack, showing a minimal module dependency setup. The code creates a new `Backbone.View` instance and logs it to the console, confirming that the libraries load correctly. The webpack configuration uses `exports-loader` to strip Zepto’s global `$` and `Zepto` objects, aliasing `jquery` to `zepto/zepto.min.js`. The `out.js` file is generated from `index.js` with source maps enabled, illustrating a basic dependency-resolution workflow.
AI-generated descriptionMIT Licensed