File tree Expand file tree Collapse file tree
packages/arui-scripts/docs Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929}
3030```
3131
32- ### Конфигурационный файл
32+ ### Конфигурационный файл - arui-scripts.config (js | ts)
3333Пример конфигурационного файла:
3434
3535``` ts
@@ -150,7 +150,7 @@ export default settings;
150150Этот ключ принимает не только строки, но и любые возможные в [ webpack варианты] ( https://webpack.js.org/concepts/entry-points/ ) .
151151Например, вы можете создать две отдельных входных точки для мобильной и десктопной версии приложения:
152152
153- ``` js
153+ ``` ts
154154const settings = {
155155 clientEntry: {
156156 mobile: ' ./src/mobile' ,
@@ -178,16 +178,16 @@ const settings = {
178178
179179Некоторые настройки для базовой конфигурации ` nginx ` (` /etc/nginx/nginx.conf ` ).
180180
181- ``` json
182- "aruiScripts" : {
183- " nginx" : {
184- " workerProcesses" : 2 ,
185- " workerRlimitNoFile" : 20000 ,
186- " workerConnections" : 19000 ,
187- " eventsUse" : " epoll" ,
188- " daemon" : " off"
189- }
190- }
181+ ``` ts
182+ const settings = {
183+ nginx: {
184+ workerProcesses: 2 ,
185+ workerRlimitNoFile: 20000 ,
186+ workerConnections: 19000 ,
187+ eventsUse: ' epoll' ,
188+ daemon: ' off'
189+ },
190+ };
191191```
192192
193193#### runFromNonRootUser
You can’t perform that action at this time.
0 commit comments