Introduce PostCSS for auto-prefixing, extract vendors in chunk.
--- a/package.json Thu Feb 09 16:09:25 2017 +0100
+++ b/package.json Thu Feb 09 16:13:10 2017 +0100
@@ -44,6 +44,7 @@
"file-loader": "^0.8.4",
"minimalist": "^1.0.0",
"ncp": "^2.0.0",
+ "postcss-loader": "^1.2.2",
"rimraf": "^2.5.4",
"style-loader": "^0.13.1",
"vue-loader": "^9.0.0",
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/postcss.config.js Thu Feb 09 16:13:10 2017 +0100
@@ -0,0 +1,5 @@
+module.exports = {
+ plugins: [
+ require('autoprefixer')({ /* ...options */ })
+ ]
+}
--- a/src/iconolab/templates/iconolab_base.html Thu Feb 09 16:09:25 2017 +0100
+++ b/src/iconolab/templates/iconolab_base.html Thu Feb 09 16:13:10 2017 +0100
@@ -27,6 +27,7 @@
<footer>
{% include "partials/footer.html" %}
</footer>
+ <script src="{% static 'iconolab/js/vendor.js' %}" type="text/javascript"></script>
<script src="{% static 'iconolab/js/iconolab.js' %}" type="text/javascript"></script>
{% block footer_js %} {% endblock %}
{% if IS_JS_DEV_MODE %}