Migrate build pipeline to Webpack 2

This commit is contained in:
squidfunk
2017-02-11 16:00:45 +01:00
committed by Martin Donath
parent 7c36b5c4ef
commit 80fe7e010d
8 changed files with 219 additions and 281 deletions

View File

@@ -245,17 +245,7 @@
{% block scripts %}
<script src="{{ base_url }}/assets/javascripts/application.js"></script>
<script>
/* Configuration for application */
var config = {
url: {
base: "{{ base_url }}",
}
};
/* Initialize application */
var app = new Application(config);
app.initialize();
app.initialize({ url: { base: "{{ base_url }}", } });
</script>
{% for path in extra_javascript %}
<script src="{{ path }}"></script>