bs_base-8.x-1.x-dev/gulp-options.yml
gulp-options.yml
# Configuration options for Gulp.
#
# Child themes will inherit this options.
#
# List of gulp plugins from package.json which we are lazy autoload.
# @see https://www.npmjs.com/package/gulp-load-plugins#options
gulpPlugins:
pattern:
- "autoprefixer"
- "del"
- "postcss-*"
# Add patterns instead of overriding them.
overridePattern: false
# Rename mapping to values that we will use in JS code.
rename:
postcss-reporter: "reporter"
postcss-scss: "syntax_scss"
# Sass options.
sass:
# Relative path to SASS source folder.
src: './sass'
# Relative path to CSS destination folder.
dest: './css'
# Sass compiler options.
outputStyle: 'expanded'
# List of paths that will be added for SASS compilation.
includePaths:
- './sass/'
- './node_modules/'
# Next depreciations are silenced because of Bootstrap 5.
silenceDeprecations:
- 'abs-percent'
- 'import'
- 'legacy-js-api'
- 'global-builtin'
- 'color-functions'
# Autoprefixer plugin options.
autoprefixer:
# Disable flexbox properties prefixing.
flexbox: false
# Processor configuration for postcss reporter plugin.
processors:
reporter:
# Clear all messages after displaying, so they are not redisplayed in other
# postcss plugins.
clearAllMessages: true
# Don't throw exception on error but continue with gulp tasks.
throwError: false
