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

Allow output_path to be remote url #76

Open
oscargala opened this issue Aug 9, 2019 · 0 comments · May be fixed by #97
Open

Allow output_path to be remote url #76

oscargala opened this issue Aug 9, 2019 · 0 comments · May be fixed by #97

Comments

@oscargala
Copy link

We have a case where our css and js files are on a cdn and we have encore build all the files remotely on the cdn after we do a push. the entrypoints.json is therefore also remotely on the cdn server.

I can add this in the config:

webpack_encore:
output_path: "https://cdn.blabla.com/experimental"

But then the file_exists check in src/Asset/EntryPointLookup.php on line 120 halts the process.
Whereas the file_get_contents on line 127 would work perfectly well with the remote url.

So could there be a way to bypass the file_exists check if the output_path is a url? Or add a config option "remote" or something like that?

@rlvdx rlvdx linked a pull request Oct 8, 2020 that will close this issue
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 a pull request may close this issue.

1 participant