Browse Source

Split up bundles.

feature/bike-tracking
Drew Larson 8 years ago
parent
commit
a42654a954
  1. 1
      bikeshop_project/core/templates/dashboard.html
  2. 1
      bikeshop_project/webpack.dev.config.js

1
bikeshop_project/core/templates/dashboard.html

@ -53,7 +53,6 @@
</div> </div>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div id="root"></div> <div id="root"></div>
{% render_bundle 'signin' %} {% render_bundle 'signin' %}

1
bikeshop_project/webpack.dev.config.js

@ -14,6 +14,7 @@ config.entry = {
signin: './assets/js/index', signin: './assets/js/index',
members: './assets/js/members/index', members: './assets/js/members/index',
babelPolyfill: 'babel-polyfill', babelPolyfill: 'babel-polyfill',
bikes: './assets/js/bikes/index',
}; };
// override django's STATIC_URL for webpack bundles // override django's STATIC_URL for webpack bundles

Loading…
Cancel
Save