From 5df93469da72322b4ecdaadd2a655792bc7067f2 Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Wed, 30 Jan 2019 14:49:47 -0200 Subject: [PATCH] ajuste de blocos --- sapl-frontend/vue.config.js | 4 ---- sapl/templates/base.html | 2 +- sapl/templates/index.html | 2 -- webpack-stats.json | 2 +- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/sapl-frontend/vue.config.js b/sapl-frontend/vue.config.js index e120a03ea..b7e9b4fa6 100644 --- a/sapl-frontend/vue.config.js +++ b/sapl-frontend/vue.config.js @@ -44,10 +44,6 @@ module.exports = { .mode('development') .devtool('cheap-module-eval-source-map') - //config - // .mode('development') - // .optimization - // .splitChunks(false) config .plugin('RelativeBundleTrackerPlugin') diff --git a/sapl/templates/base.html b/sapl/templates/base.html index 22e2bd42d..c598cf102 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -14,7 +14,7 @@ {% block head_title %}{% trans 'SAPL - Sistema de Apoio ao Processo Legislativo' %}{% endblock %} {% block head_content %} - + {% block webpack_loader_css %} {% render_chunk_vendors 'css' %} {% render_bundle 'global' 'css' %} diff --git a/sapl/templates/index.html b/sapl/templates/index.html index 3d6cf2b48..3cb59bbc6 100644 --- a/sapl/templates/index.html +++ b/sapl/templates/index.html @@ -2,8 +2,6 @@ {% load webpack_static from webpack_loader %} {% block title %}{% endblock title %} -{% block webpack_loader_chunks_css %}{% endblock webpack_loader_chunks_css %} -{% block webpack_loader_chunks_js %}{% endblock webpack_loader_chunks_js %} {% block base_content%}
diff --git a/webpack-stats.json b/webpack-stats.json index e48d8051d..997e8ad39 100644 --- a/webpack-stats.json +++ b/webpack-stats.json @@ -1 +1 @@ -{"status":"done","publicPath":"/static/","chunks":{"chunk-vendors":[{"name":"css/chunk-vendors.606a90f4.css","publicPath":"/static/css/chunk-vendors.606a90f4.css","path":"../sapl/static/css/chunk-vendors.606a90f4.css"},{"name":"js/chunk-vendors.3e94208e.js","publicPath":"/static/js/chunk-vendors.3e94208e.js","path":"../sapl/static/js/chunk-vendors.3e94208e.js"}],"compilacao":[{"name":"css/compilacao.a68f4b14.css","publicPath":"/static/css/compilacao.a68f4b14.css","path":"../sapl/static/css/compilacao.a68f4b14.css"},{"name":"js/compilacao.355ed00a.js","publicPath":"/static/js/compilacao.355ed00a.js","path":"../sapl/static/js/compilacao.355ed00a.js"}],"global":[{"name":"css/global.8608d5e7.css","publicPath":"/static/css/global.8608d5e7.css","path":"../sapl/static/css/global.8608d5e7.css"},{"name":"js/global.47ba311e.js","publicPath":"/static/js/global.47ba311e.js","path":"../sapl/static/js/global.47ba311e.js"}],"sapl-oficial-theme":[{"name":"js/sapl-oficial-theme.391f1e2f.js","publicPath":"/static/js/sapl-oficial-theme.391f1e2f.js","path":"../sapl/static/js/sapl-oficial-theme.391f1e2f.js"}]}} \ No newline at end of file +{"status":"done","publicPath":"http://localhost:8080/","chunks":{"compilacao":[{"name":"compilacao.js","publicPath":"http://localhost:8080/compilacao.js","path":"../sapl/static/compilacao.js"}],"global":[{"name":"global.js","publicPath":"http://localhost:8080/global.js","path":"../sapl/static/global.js"}],"sapl-oficial-theme":[{"name":"sapl-oficial-theme.js","publicPath":"http://localhost:8080/sapl-oficial-theme.js","path":"../sapl/static/sapl-oficial-theme.js"}]}} \ No newline at end of file