mtasa-typescript / resource-boilerplate

MTASA TypeScript Resource Boilerplate
25 stars 4 forks source link

adding path using glob pattern inside meta.xml #127

Closed eone666 closed 1 year ago

eone666 commented 1 year ago

Description

Passing folder path to 'files' inside meta.xml to add files by glob pattern (e.g. files: webui/build/**/* to recursively add all files contained in build folder and subfolders)

Is your feature request related to a problem? Please describe.

It will help to embed front-end frameworks for working with CEF (which generate many files)

eone666 commented 1 year ago

example how it works in FiveM manifest https://github.com/project-error/fivem-react-boilerplate-lua/blob/master/fxmanifest.lua

eone666 commented 1 year ago

libraries that can help you do this: https://www.npmjs.com/search?q=glob

eone666 commented 1 year ago

I reopened this issue in right repository (utils instead of boilerplate) https://github.com/mtasa-typescript/mtasa-lua-utils/issues/438