From de84b3bffa532894b0fada5962b290f34befab61 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Wed, 23 Nov 2016 18:56:12 +0100 Subject: [PATCH] Log webpack reducido --- @salix/app/src/app.js | 1 + @salix/app/src/styles/title.css | 24 ++++++++++++++++++++++++ @salix/gulpfile.js | 14 ++++++++++++-- 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 @salix/app/src/styles/title.css diff --git a/@salix/app/src/app.js b/@salix/app/src/app.js index 43dab4a88..55ca62470 100644 --- a/@salix/app/src/app.js +++ b/@salix/app/src/app.js @@ -2,6 +2,7 @@ import {bootstrap} from './bootstrap'; import * as spliting from './spliting'; import * as routes from './configroutes'; +import title from './styles/title.css' import padding from './styles/layout.css' import margin from './styles/margin.scss' import layout from './styles/padding.scss' diff --git a/@salix/app/src/styles/title.css b/@salix/app/src/styles/title.css new file mode 100644 index 000000000..97dec56b4 --- /dev/null +++ b/@salix/app/src/styles/title.css @@ -0,0 +1,24 @@ + +h1 { + font-size: 32pt; +} +h2 { + font-size: 28pt; +} +h3 { + font-size: 24pt; +} +h4 { + font-size: 20pt; +} +h5 { + font-size: 16pt; +} +h6 { + font-size: 12pt; +} + +h1, h2, h3, h4, h5, h6 { + padding: 0; + margin: .4em 0; +} \ No newline at end of file diff --git a/@salix/gulpfile.js b/@salix/gulpfile.js index d91687647..d3d530c2c 100644 --- a/@salix/gulpfile.js +++ b/@salix/gulpfile.js @@ -75,8 +75,18 @@ gulp.task('webpack-dev-server', ['spliting'], function() { var devServer = new WebpackDevServer(webpack(myConfig), { publicPath: '/', - stats: {colors: true}, - contentBase: buildDir + contentBase: buildDir, + quiet: false, + noInfo: false, + stats: { + assets: true, + colors: true, + version: false, + hash: false, + timings: true, + chunks: false, + chunkModules: false + } }) .listen(8081, '0.0.0.0', function(err) { if(err) throw new gutil.PluginError('webpack-dev-server', err);