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

feat: url publicPath and assetDir can be a function #222

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

KingSora
Copy link

@KingSora KingSora commented Sep 2, 2022

Good day!

I'm using rollup-plugin-styles with the rollup options preserveModules and preserveModulesRoot. In the resulting file structure I need to keep the original publicPath of the url asset and the asset path should also remain the same. To make this possible I've added the possibility to make the url publicPath and assetDir option a function which gives you the original paths and resolved paths and its up to the consumer whats returned.

@KingSora KingSora changed the title feat: url publicPath can be a function feat: url publicPath and assetDir can be a function Sep 3, 2022
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

Successfully merging this pull request may close these issues.

None yet

1 participant