Skip to content

Support for the entrypoints.json with multiple webpack config #466

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

Closed
stof opened this issue Nov 30, 2018 · 4 comments
Closed

Support for the entrypoints.json with multiple webpack config #466

stof opened this issue Nov 30, 2018 · 4 comments

Comments

@stof
Copy link
Member

stof commented Nov 30, 2018

If webpack is used in multi-config mode (thanks to Encore.reset()), we would need to make the name of entrypoints.json to be configurable, so that each config can create its own file, without overriding the entrypoints created by the other config (and we will also need to add support for that in the WebpackEncoreBundle of course).

@stof
Copy link
Member Author

stof commented Nov 30, 2018

hmm, actually, keeping it named entrypoints.json might be fine if we take care of using separate subfolders as output path for each config (which might be necessary to avoid conflicts between chunk files too)

@Alymbek
Copy link

Alymbek commented Dec 25, 2018

hi, @stof!

I just try to make separate folders to output path, but get only single entrypoints.json and manifest.json for all of them.
and that files are incorrect, see #477

@seyfer
Copy link

seyfer commented Jan 11, 2019

It is supported with webpack encore bundle
I guess closed by this one
symfony/webpack-encore-bundle#17

@Lyrkan
Copy link
Collaborator

Lyrkan commented Jan 17, 2019

Yep, closing this since a new version of the WebpackEncoreBundle has been released with that feature :)

@Lyrkan Lyrkan closed this as completed Jan 17, 2019
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

4 participants