Skip to content

Commit

Permalink
[webpack] revert change to output extension (#760)
Browse files Browse the repository at this point in the history
* revert change to output extension

* make dashboard use .js
  • Loading branch information
Alanna Scott committed Jul 15, 2016
1 parent f034f27 commit 1fed498
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion caravel/assets/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var config = {
},
output: {
path: BUILD_DIR,
filename: '[name].entry.jsx'
filename: '[name].entry.js'
},
resolve: {
alias: {
Expand Down
2 changes: 1 addition & 1 deletion caravel/templates/caravel/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% block head_js %}
{{ super() }}
<script src="/static/assets/javascripts/dist/dashboard.entry.jsx"></script>
<script src="/static/assets/javascripts/dist/dashboard.entry.js"></script>
{% endblock %}
{% block title %}[dashboard] {{ dashboard.dashboard_title }}{% endblock %}
{% block body %}
Expand Down
2 changes: 1 addition & 1 deletion caravel/templates/caravel/explore.html
Original file line number Diff line number Diff line change
Expand Up @@ -309,5 +309,5 @@ <h4 class="modal-title">{{ _("Save a Slice") }}</h4>

{% block tail_js %}
{{ super() }}
<script src="/static/assets/javascripts/dist/explore.entry.jsx"></script>
<script src="/static/assets/javascripts/dist/explore.entry.js"></script>
{% endblock %}

0 comments on commit 1fed498

Please sign in to comment.