Skip to content

Commit

Permalink
Merge branch 'main' of github.com:excubo-ag/WebCompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanloerwald committed Feb 17, 2024
2 parents 11a39e9 + 8798a8d commit a27bc49
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,15 @@ The default configuration is

2. change config file

Change anything in the generated config file according to your needs. If you need help with the available settings, please refer to the documentation of [LibSassHost](https://github.com/Taritsyn/LibSassHost) or [NUglify](https://github.com/xoofx/NUglify).
Change anything in the generated config file according to your needs. If you need help with the available settings, please refer to the documentation of [DartSassHost](https://github.com/Taritsyn/DartSassHost), [NUglify](https://github.com/xoofx/NUglify) and [AutoprefixerHost](https://github.com/Taritsyn/AutoprefixerHost).

Some WebCompiler-specific configurations are:

- `"Output": { "Preserve": true }`
When disabled, removes all temporary files (which could increase compile time; the default is to keep all temporary files). Equivalent to the CLI's `-p` and `--preserve` switches.

- `"Output": { "Directory": "your/path/prefix/here" }`
Specifies the output directory. Equivalent to the CLI's `-o` and `--output-dir` switches. See `webcompiler -o --help` for more details.

3. Make webcompiler use these options

Expand Down

0 comments on commit a27bc49

Please sign in to comment.