generator-gulp-angular icon indicating copy to clipboard operation
generator-gulp-angular copied to clipboard

How to Keep Certain CSS Files in Finished Build?

Open JimLynchCodes opened this issue 9 years ago • 2 comments

Hi, I am importing a smaller html project into my own project that uses gul-angular. The smaller project is just an html file and a css file. I want to bundle the html and css just as it is. When I run gulp build now it deletes the css file, does not put it anywhere, and the styles are completely lost. Similarly, renaming it to scss removes the file and does not apply the styles as well.

How can I tell the minifier to skip over certain files or folders?

JimLynchCodes avatar Jun 01 '16 16:06 JimLynchCodes

Look build.js file into gulp folder. the minification is done into html gulp task.

labrute avatar Jun 02 '16 06:06 labrute

If I wanted to add to the gulp script so that it does not concatenate or minify any js, css, or html files in a folder called "src/safe-folder" how can I do this?

JimLynchCodes avatar Jun 02 '16 15:06 JimLynchCodes