/**
 * Configuration for @rushstack/heft-sass-plugin
 */
{
  "$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft-sass-plugin.schema.json",

  /**
   * Optionally specifies another JSON config file that this file extends from. This provides a way for standard
   * settings to be shared across multiple projects.
   *
   * To delete an inherited setting, set it to `null` in this file.
   */
  // "extends": "base-project/config/serve-command.json",

  /**
   * The root directory for project source code.
   *
   * Default value: "src/"
   */
  // "srcFolder": "src/",

  /**
   * Output directory for generated Sass typings.
   *
   * Default value: "temp/sass-ts/"
   */
  // "generatedTsFolder": "temp/sass-ts/",

  /**
   * Optional additional folders to which Sass typings should be output.
   */
  // "secondaryGeneratedTsFolders": [],

  /**
   * Determines whether export values are wrapped in a default property, or not.
   *
   * Default value: true
   */
  // "exportAsDefault": false,

  /**
   * Files with these extensions will pass through the Sass transpiler for typings generation.
   */
  "fileExtensions": [".sass", ".scss", ".css"],

  /**
   * Files with these extensions will pass through the Sass transpiler for typings generation.
   * They will be treated as non-module SCSS.
   * Defaults to [".global.sass", ".global.scss", ".global.css"]
   */
  "nonModuleFileExtensions": [".global.sass", ".global.scss", ".global.css"],

  /**
   * If specified, folders where compiled CSS files will be emitted to. They will be named by appending
   * ".css" to the source file name for ease of reference translation, unless "preserveSCSSExtension" is set.
   *
   * Default value: undefined
   */
  "cssOutputFolders": ["lib", "lib-commonjs"],

  /**
   * A list of file paths relative to the "src" folder that should be excluded from typings generation.
   *
   * Default value: undefined
   */
  // "excludeFiles": [],

  /**
   * If set, deprecation warnings from dependencies will be suppressed.
   *
   * Default value: false
   */
  // "ignoreDeprecationsInDependencies": true,

  /**
   * If set, the specified deprecation warnings will be suppressed.
   *
   * Default value: []
   */
  "silenceDeprecations": ["mixed-decls", "import", "global-builtin", "color-functions"],

  /**
   * If true, the original file extension will not be trimmed when generating the output CSS file.
   * The generated CSS file will retain its original extension. For example, "styles.scss" will generate
   * "styles.scss.css" instead of "styles.css".
   *
   * Default value: false
   */
  "doNotTrimOriginalFileExtension": true,

  /**
   * If true, the original CSS output will be preserved when writing to cssOutputFolders, rather than
   * using the transformed CSS from postcss-modules. This is required when the CSS output will be
   * consumed by a webpack loader (such as sp-css-loader) that performs its own CSS Modules processing,
   * because postcss-modules strips :global() selectors and :export blocks from the CSS output.
   *
   * Default value: false
   */
  "preserveIcssExports": true,

  /**
   * If true, the Sass compiler will emit ".css.map" source map files alongside the compiled CSS
   * (with embedded source contents) and append a sourceMappingURL comment to the CSS. These maps are
   * consumed at build time by source-map-loader and inlined into the runtime-injected styles by
   * sp-css-loader, restoring SCSS source debugging in dev mode. Requires @rushstack/heft-sass-plugin >= 1.4.0.
   *
   * Default value: false
   */
  "sourceMap": true
}
