Skip to content

Commit

Permalink
docs for ignore file feature (#309)
Browse files Browse the repository at this point in the history
* docs for ignore file feature

* chore: changed resourcesIgnore to resourcesExclude

* Update neutralino.config.json.md

---------

Co-authored-by: Shalitha Suranga <[email protected]>
  • Loading branch information
viralgupta and shalithasuranga authored May 26, 2024
1 parent fd6a3b3 commit 1bbcf0b
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions docs/configuration/neutralino.config.json.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,27 @@ Binary file name of your application. If it is `myapp`, all binaries will use
### `cli.resourcesPath: string`
Path of your application resources.

### `cli.resourcesExclude: string`
Regex pattern to exclude files from final app bundle. For example, the following configuration will exclude all the TypeScript source files from the final build:

```json
{
"resourcesExclude" : ".*\\.ts$|.*\\.tsx$"
}
```

### `cli.extensionsPath: string`
Path of your application extensions.

### `cli.extensionsExclude: string`
Regex pattern to exclude files from the extensions directory of the final app package. For example, the following configuration will exclude `.log` and `.info` files:

```json
{
"extensionsExclude" : ".*\\.log$|.*\\.info$"
}
```

### `cli.clientLibrary: string`
Filename of the Neutralinojs JavaScript library.

Expand All @@ -298,8 +316,7 @@ Neutralinojs server version. Get nightly builds by using the `nightly` tag.
Neutralinojs client version. Get nightly builds by using the `nightly` tag.

### `cli.autoReloadExclude: string`
A JavaScript regular expression to exclude files from the auto-reload file watcher. For example, the
following configuration will disable auto-reloading for SASS stylesheets (`.scss`).
A JavaScript regular expression to exclude files from the auto-reload file watcher. For example, the following configuration will disable auto-reloading for SASS stylesheets (`.scss`).

```json
{
Expand Down

0 comments on commit 1bbcf0b

Please sign in to comment.