Skip to content

feat: Add svg extension to public folder copy's allow list - #3123

Merged
lariciamota merged 1 commit into
devfrom
feat/allow-svg-public
Nov 20, 2025
Merged

lariciamota merged 1 commit into
devfrom
feat/allow-svg-public

Conversation

@lariciamota

@lariciamota lariciamota commented Nov 18, 2025 •

Copy link
Copy Markdown
Contributor

What's the purpose of this pull request?

Allow svg files in public folder, avoid it getting deleted/overwritten when generating .faststore

How it works?

Add it to the allow list.

How to test it?

Create a svg file or modify an existing svg file, it should be copied correctly to the /.faststore/public when running the build command. You can use this PR to test: https://github.com/vtex-sites/faststoreqa.store/pull/887, I've added a new svg file and changed an existing one, before it was being deleted/overwritten.
Screenshot 2025-11-20 at 09 57 19

Nothing else should change.

Starters Deploy Preview

References

@lariciamota lariciamota self-assigned this Nov 18, 2025
@lariciamota lariciamota added the enhancement New feature or request label Nov 18, 2025
@lariciamota
lariciamota force-pushed the feat/allow-svg-public branch 2 times, most recently from 3ed7dc0 to a8c6f6b Compare November 19, 2025 13:51
@lariciamota
lariciamota force-pushed the feat/allow-svg-public branch from a8c6f6b to 61ce1e3 Compare November 20, 2025 11:55
@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@lariciamota
lariciamota marked this pull request as ready for review November 20, 2025 12:59
@lariciamota
lariciamota requested a review from a team as a code owner November 20, 2025 12:59
@lariciamota
lariciamota requested review from eduardoformiga and renatomaurovtex and removed request for a team November 20, 2025 12:59
@lariciamota
lariciamota merged commit 15aca77 into dev Nov 20, 2025
@lariciamota
lariciamota deleted the feat/allow-svg-public branch November 20, 2025 19:59
sahanljc added a commit to clouda-inc/faststore that referenced this pull request Nov 24, 2025
* dev:
  [no ci] Release: 3.95.0-dev.0
  feat: Add svg extension to public folder copy's allow list (vtex#3123)
thiagopereira-vtex pushed a commit that referenced this pull request Jan 8, 2026
## What's the purpose of this pull request?

Allow svg files in public folder, avoid it getting deleted/overwritten
when generating .faststore

## How it works?

Add it to the allow list.

## How to test it?

Create a svg file or modify an existing svg file, it should be copied
correctly to the `/.faststore/public` when running the build command.
You can use this PR to test:
https://github.com/vtex-sites/faststoreqa.store/pull/887, I've added a
new svg file and changed an existing one, before it was being
deleted/overwritten.
<img width="287" height="420" alt="Screenshot 2025-11-20 at 09 57 19"
src="https://github.com/user-attachments/assets/7b01d806-bdf9-4c3b-a385-32ea11ab2518"
/>

Nothing else should change.

### Starters Deploy Preview

- https://storeframework-cm652ufll028lmgv665a6xv0g-h0max2o2h.b.vtex.app/

## References
- [Jira task](https://vtex-dev.atlassian.net/browse/SO-559)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants