This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 38
target_compiler
Marcel Kloubert edited this page May 26, 2019
·
12 revisions
Compiles files.
{
"deploy.reloaded": {
"targets": [
{
"type": "compiler",
"compiler": "coffeescript"
}
]
}
}
Name | Description |
---|---|
compiler *
|
The compiler to use. |
dir *
|
The custom output directory. Relative paths will be mapped to the root directory of the underlying workspace. |
options |
Additional options for the compiler. |
* supports placeholders
Valid values for compiler
property:
coffee
coffeescript
{
"deploy.reloaded": {
"targets": [
{
"type": "compiler",
"compiler": "coffee"
}
]
}
}
Name | Description |
---|---|
encoding *
|
The encoding of / for the files. Default: utf8
|
extension *
|
The custom file extension for the output files to use. Default: js
|
* supports placeholders
Valid values for compiler
property:
html-minifier
html-min
htmlminifier
htmlmin
{
"deploy.reloaded": {
"targets": [
{
"type": "compiler",
"compiler": "htmlmin"
}
]
}
}
Name | Description |
---|---|
deleteSources |
Delete source files or not. Default: (false)
|
encoding *
|
The encoding of / for the files. Default: utf8
|
extension *
|
The custom file extension for the output files to use. Default: min.html
|
* supports placeholders
Valid values for compiler
property:
less
{
"deploy.reloaded": {
"targets": [
{
"type": "compiler",
"compiler": "less"
}
]
}
}
Name | Description |
---|---|
encoding *
|
The encoding of / for the files. Default: utf8
|
extension *
|
The custom file extension for the output files to use. Default: css
|
* supports placeholders
For more options: s. Programmatic Usage
Valid values for compiler
property:
pug
{
"deploy.reloaded": {
"targets": [
{
"type": "compiler",
"compiler": "pug"
}
]
}
}
Name | Description |
---|---|
encoding *
|
The encoding of / for the files. Default: utf8
|
extension *
|
The custom file extension for the output files to use. Default: html
|
* supports placeholders
For more options: s. API reference
Valid values for compiler
property:
uglifyjs
uglify-js
{
"deploy.reloaded": {
"targets": [
{
"type": "compiler",
"compiler": "uglify-js"
}
]
}
}
Name | Description |
---|---|
deleteSources |
Delete source files or not. Default: (false)
|
encoding *
|
The encoding of / for the files. Default: utf8
|
extension *
|
The custom file extension for the output files to use. Default: min.js
|
* supports placeholders