Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

backbone-webpack-example

> 编程语言
Open source

Example of converting a Backbone app to use Webpack

100 stars0 likes4 views
WebsiteGitHub

About

Example of converting a Backbone app to use Webpack

Backbone.js & Webpack TodoMVC Example

This example uses Webpack to bundle all JavaScript and CSS dependencies in the app!

Loaders

For JavaScript:

  • babel - Turns ES6+ code into ES5-friendly code, supports React, JSX, and Flow as well
  • react-hot - Enables live-editing of React components, preserving their state
  • eslint - Add lint rules to enforce best practices, supports ES6, React, and JSX as well
  • jshint - Similar to above
  • markdown - Loads markdown from a file that can then be easily rendered as HTML
  • handlebars, mustache, ejs, etc - Various flavors of templating

For CSS:

  • postcss - Transform CSS with autoprefixing, minification, RTL, etc.
  • sass - Extends CSS with more traditional programming mechanisms (mixins, functions, etc.)
  • less - Similar to above
  • autoprefixer - Adds vendor prefixes to CSS

Plug-ins

  • HotModuleReplacementPlugin - Replaces JavaScript/CSS modules without reloading the browser
  • I18n - Create locale-specific bundles with translations baked in
  • Rewire - Modify behavior of modules for easier unit testing in node.js
  • UglifyJs - Minifies JavaScript output in bundles (use in a production config)

Issues· 2 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言