Answer the question
In order to leave comments, you need to log in
Why use gulp-conctat when we can use import?
Good afternoon.
What is the advantage of gulp-concat over import?
I'm talking about css files.
For js, I use gulp-rigger.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
No difference except that the gulp-concat module has the ability to edit options.
concatCss(targetFile, options)
targetFile: The relative path of the generated file containing the concatenated css
options: (since 2.1.0)
inlineImports: (default true) Inline any local import statement found
rebaseUrls: (default true) Adjust any relative URL to the location of the target file.
includePaths: (default []) Include additional paths when inlining imports
commonBase: (default to the base property of the first file) Common base path from wich resolving files and urls
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question