Questions tagged as 'gulp'

0
answers

gulp does not recognize {{assets ()}} from blade

Hello, I'm implementing gulp in a laravel project. I have the following task: gulp.task('usemin', function(){ return gulp.src('version-client/app/views/**/*.php') .pipe(usemin({ js: [uglify], css: [autoprefixer, cssmin]...
asked by 09.03.2018 / 12:58
0
answers

put exception of just one folder in src of gulp

I would like to put gulp in a laravel project, and before uploading this project to production I always need to delete a folder called config. How do I do that when creating a new folder (which would be the production folder) read the whole fold...
asked by 08.03.2018 / 17:01
0
answers

Error while minimizing JS Template with Gulp

When running my automatic Gulp tasks, which include JS minification, it's giving error! I created a new JavaScript code that uses templete strings, and the error gives it there! Gulp-uglify can not process this file because of the grave (') acce...
asked by 05.03.2018 / 19:37
0
answers

build laravel 4.2

Can anyone tell me the best tool to build laravel 4.2? I'm trying to implement gulp, but I'm having a lot of problems when I put it together with laravel and iis server.     
asked by 12.03.2018 / 16:52
0
answers

Error with gulp-uncss: This application failed to start because it could not find or load the Qt platform plugin "xcb"

When trying to run task uncss , an error occurs with the message:    This application failed to start because it could not find or load the    Qt platform plugin "xcb".   Available platform plugins are: phantom. gulp.task('uncss', fu...
asked by 28.01.2018 / 17:19
0
answers

Transform external style sheets to inline css with gulp

Good afternoon, I'm looking for information about the Gulp feature that transforms external style sheets into inline css using the inline attribute. Ex: <link inline href="styles/estilo.css" rel="stylesheet" type="text/css"> Cou...
asked by 12.01.2018 / 19:52
0
answers

Css does not work with gulp

Good evening, good evening I'mstartingwithgulpnowandI'matthebeginningofasystem.Theproblemisthatcssdoesnotwork.I'mgoingtosendaprintoftheconsole.Asyoucanseetheapp.jssisok,buttheapp.cssdoesnot...Tosendtheapplicationlinkingittoo,soyoucanhavealoo...
asked by 01.01.2018 / 23:54
0
answers

Minify the code generated by the webpack using gulp

This is the JavaScript task of my gulpfile.js : gulp.task('js', function () { gulp.src('_front-end/js/index.js') .pipe(babel({ presets: ['env'] })) .pipe(webpack({ output: { filename: 'all.js' }})) .pipe(gulp.dest('_front...
asked by 28.10.2017 / 22:17
1
answer

How to work with flat and minified files?

When writing a .html , .css or .js file, we use its flat form, but when playing in production we prefer to use Minimal files, usually named .min.css , .min.js ... The question that brings me here is: in my development environment I us...
asked by 20.11.2017 / 22:14
1
answer

gulp-rev-all doing replace no id dom-module

I'm trying to version the assets from my polymer web app using gulp-rev-all. However, gulp-rev-all is doing replace and adding hash also in the dom-module id. Ex: <dom-module id="cr-header.fd743a17"> gulp.task('version-assets',...
asked by 31.08.2017 / 22:33