Skip to content

Be able to set default values for WebCompiler specific properties #114

Description

@alexandrejobin

It would be nice to be able to set default values for WebCompiler specific properties. For exemple, if I want all my files to be encoded UTF8 (without BOM), I must write the compilerconfig.json file lke so:

[
  {
    "inputFile": "wwwroot/scss/file1.scss",
    "outputFile": "wwwroot/css/file1.pes.css",
    "outputUTF8Identifier": false
  },
  {
    "inputFile": "wwwroot/scss/file2.scss",
    "outputFile": "wwwroot/css/file2.css",
    "outputUTF8Identifier": false
  },
  {
    "inputFile": "wwwroot/scss/file3.scss",
    "outputFile": "wwwroot/css/file3.css",
    "outputUTF8Identifier": false
  }
]

Having a way to put the property outputUTF8Identifier (or any other properties) inside the compilerconfig.json.defaults file would help a lot to standardize the configuration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions