Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Support for Preserving Directory Structure in Asset Copy #10

Open
lawvs opened this issue Dec 17, 2024 · 1 comment
Open

Comments

@lawvs
Copy link

lawvs commented Dec 17, 2024

Thank you for the great work on the expo-custom-assets plugin. It has been instrumental in managing asset bundling for my projects.

Currently, asset files are flattened when copied to the target directory. It would be helpful to have an option to preserve the original directory structure.

Example configuration:

"plugins": [
  [
    "expo-custom-assets",
    {
      "assetsPaths": ["./path-to-your-asset-folder"],
      "preserveFolder": true
    }
  ]
]

Thank you for considering this feature!

@mzaien
Copy link
Collaborator

mzaien commented Dec 18, 2024

Hello, thanks for the idea will try to work it soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants