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

Support enabling --public-url option #23

Open
leandertolksdorf opened this issue Jul 5, 2023 · 1 comment
Open

Support enabling --public-url option #23

leandertolksdorf opened this issue Jul 5, 2023 · 1 comment

Comments

@leandertolksdorf
Copy link

In our usecase, we need the file to be copied to the build statically, but we also need the option to prepend the --public-url from parcel to the script tag's src.

@elwin013
Copy link
Owner

elwin013 commented Jul 29, 2023

Hi @leandertolksdorf! Can you describe this a bit more? From this brief description looks like it can be solved with staticOutPath - please see example in the examples/customOutInDistFolder - when specifying that option static files path will be prepend with that path (example puts them in a vendor directory).

An example project (something minimal, could be based on examples) with description of expected results will be the best way to achieve this describe the use case.

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