mirror of
https://github.com/apache/superset.git
synced 2024-09-06 13:57:40 -04:00
[webpack] revert change to output extension (#760)
* revert change to output extension * make dashboard use .js
This commit is contained in:
parent
f034f2701e
commit
1fed498e33
@ -15,7 +15,7 @@ var config = {
|
||||
},
|
||||
output: {
|
||||
path: BUILD_DIR,
|
||||
filename: '[name].entry.jsx'
|
||||
filename: '[name].entry.js'
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
@ -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 %}
|
||||
|
@ -309,5 +309,5 @@
|
||||
|
||||
{% 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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user