We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Here is my use case:
I package a Symfony app.
example.com
example.com/foo
The problem is: webpack.config.js ask me to configure my public path before I compile, but I can't know it at this time.
webpack.config.js
I can't find such a use case in Symfony documentation, or in readme here.
Is there a way to tell Symonfy or Webpack Encore with a Symfony parameter that my app lives in a subfolder ?
Not sure if I'm clear here :/
Cheers Simon
The text was updated successfully, but these errors were encountered:
As soon as there is a dynamic import involved in the webpack output, webpack needs to know that path.
If there is no dynamic import, it might be possible to find a trick to let symfony/asset manage the subfolder prefix, but I never tried that.
Sorry, something went wrong.
Thanks for your answer,
After looking at issues in webpack-encore-bundle, I think I will find a solution compiling infos from symfony/webpack-encore-bundle#19 and #88
No branches or pull requests
Hi,
Here is my use case:
I package a Symfony app.
example.com
and another atexample.com/foo
,(final user who will install it do not have to use yarn or composer)
The problem is:
webpack.config.js
ask me to configure my public path before I compile, but I can't know it at this time.I can't find such a use case in Symfony documentation, or in readme here.
Is there a way to tell Symonfy or Webpack Encore with a Symfony parameter that my app lives in a subfolder ?
Not sure if I'm clear here :/
Cheers
Simon
The text was updated successfully, but these errors were encountered: