slushjs / slush

The streaming scaffolding system - Gulp as a replacement for Yeoman
http://slushjs.github.io/generators
MIT License
1.24k stars 58 forks source link

Underscore changes to a dot in Sass partial files #59

Open chiragbhansali opened 6 years ago

chiragbhansali commented 6 years ago

In my templates directory, I have Sass partials named as _app.scss and _header.scss. However, when I use the template, the underscore in the files change to dots. How can I fix this?

Zeindelf commented 6 years ago

Change your files that need a dot _gitignore _babelrc _etc with underscores to @ one (or any for your choice) @gitignore @babelrc @etc. In your slushfile.js, on a 'default' task, change string replace @ to _.