gulp-add | Add files by contents at any point in the pipeline | Image Editing library
kandi X-RAY | gulp-add Summary
kandi X-RAY | gulp-add Summary
Add files by contents at any point in the pipeline
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gulp-add
gulp-add Key Features
gulp-add Examples and Code Snippets
Community Discussions
Trending Discussions on gulp-add
QUESTION
I've been battling with this issue for the past few hours now and all of the fixes I've found online have unfortunately not worked for me.
When running a gulp task, such as gulp deploy (I'm developing for Netsuite) the task will run until compiling SASS and then I get this error:
...ANSWER
Answered 2019-Jul-17 at 04:02I would recommend updating package.json's entry for amd-optimizer. The latest version as shown on https://www.npmjs.com/package/gulp-amd-optimizer is 0.6.0.
And as per https://docs.npmjs.com/cli/update, I'd recommend using the npm update command:
QUESTION
I'm new to Bower and I would like to use Gulp to handle CSS & JS loading and minification.
I've already solved (I hope) JS minification. But with CSS I found several problems, and not all of them I was able to solve:
- CSS files which are not found by
gulp-main-bower-files
plugin. For example CSS styles for jQuery UI. Solved bygulp-add-src
plugin. - Minimizing styles including
@import
command. Solved bygulp-cssimport
plugin. - Image paths in CSS file. Don't know how to solve it when I minimize all CSS into one style. When I minimize CSS with relative paths (for example
background: url('../images/bg1.jpg')
), minimized file has different location than original one, so path is not working. - Fonts paths in CSS file. Also don't know how to solve it. It's the same problem as above. For example with the result of Gulp task below, I'm not able to use Bootstrap icons.
My Gulp task for minify CSS looks like this:
...ANSWER
Answered 2017-Jul-02 at 09:34I finally figured it out!
gulp-clean-css is absolutelly briliant plugin which can handle all of this (both @import
and relative paths). It is just necesary to use first clean-css and THEN concat styles into one file (I did it opposite).
If anyone interested, I attach my entire gulpfile.js
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gulp-add
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page