WebCompiler icon indicating copy to clipboard operation
WebCompiler copied to clipboard

Be able to set default values for WebCompiler specific properties

Open alexandrejobin opened this issue 9 months ago • 0 comments

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.

alexandrejobin avatar May 20 '25 16:05 alexandrejobin