-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
[ FEATURE ] setEntries() method #1113
Comments
if you need to create 2 configs, that's what the |
thats what am talking about.
Moral? Think first. |
@6562680 the solution to me is to use separate output folders for your modern and legacy builds: |
Yes, did it, actually build contains images and other shared things. I had done it myself with raw php without symfony, cus of no twig extension, no symfony config for that, thank god am writing on raw php with those "recommendations" like "its fine, dont worry, get out" Actually the problem is "create method "set" for sibling "add" - europeans again recommend to find "solution"... That brain is broken. 100th time that shit. They never think standart. They think like "solve here" |
Thank you for this issue. |
Always i've wroten setter i must create delete or clear method.
That should be solved via creating methods: setItems() + addItem()
Its a minimum. If you pass setItems([]) - it work like "delete". Then you add "addItems", "deleteItem", "deleteItems" if needed or skip that useless stuff.
Why "set" is needed?
We see "Google Pagespeed" recommendation about "separate bundles for ES5 and ES2015+" - almost 50% filesize difference.
We need to create two bundles with two configs.
But ConfigValidator forbid you to .getWebpackConfig() without entries. You add "app" as entry, and next you need to create "app.es5" entry, but inside the list already "app". You cant delete it.
===
Also bug:
AND
There's no way to define:
The text was updated successfully, but these errors were encountered: