Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions packages/arui-scripts/docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}
```

### Конфигурационный файл
### Конфигурационный файл - arui-scripts.config (js | ts)
Пример конфигурационного файла:

```ts
Expand Down Expand Up @@ -150,7 +150,7 @@ export default settings;
Этот ключ принимает не только строки, но и любые возможные в [webpack варианты](https://webpack.js.org/concepts/entry-points/).
Например, вы можете создать две отдельных входных точки для мобильной и десктопной версии приложения:

```js
```ts
const settings = {
clientEntry: {
mobile: './src/mobile',
Expand Down Expand Up @@ -178,16 +178,16 @@ const settings = {

Некоторые настройки для базовой конфигурации `nginx` (`/etc/nginx/nginx.conf`).

```json
"aruiScripts": {
"nginx": {
"workerProcesses": 2,
"workerRlimitNoFile": 20000,
"workerConnections": 19000,
"eventsUse": "epoll",
"daemon": "off"
}
}
```ts
const settings = {
nginx: {
workerProcesses: 2,
workerRlimitNoFile: 20000,
workerConnections: 19000,
eventsUse: 'epoll',
daemon: 'off'
},
};
```

#### runFromNonRootUser
Expand Down
Loading