-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Working to finish - feature/encore-webpack #6177
Conversation
This PR is not RTM but I want present some informations about it.
TODO:
IMHO
This will also allow add WDYT? @greg0ire, @core23, @phansys, @jordisala1991, @VincentLanglet |
What about having 2 options: If I want to compile myself the assets using this way I can add them to my webpack encore configuration. But what about if I only want to have the assets compiled directly? Should we add here the minified one? |
I would prefer having the AdminBundle without the assets and create another repository with the minified assets. |
Good idea. We should add webpack to sonata/sandbox, not only AdminBundle. (Probably only AdminBundle and PageBundle) Step 1: Step 2: Step 3: Step 4: @jordisala1991 This will be OK? |
Something like symfony/recipies for assets? |
I start working on |
This PR is more like: https://github.com/Sylius/Sylius (You have to build your own assets on the project using Sylius to have admin styles) Maybe we can have the good things of both worlds.. that's what I was suggesting |
@jordisala1991 I check you proposition.
I almost done alfa version for 3.x branch. I don't wanna release it becouse: IMHO, better way will be add webpack to sandbox and then split them to sepete config/build. This way will be easier to get @jordisala1991 idea form #6177 (comment) |
Could you please rebase your PR and fix merge conflicts? |
Close in favor of sonata-project/dev-kit#779 |
Subject
This PR rebase and prepare to merge work done in #5461 by @silasjoisten
I am targeting this branch, because {reason}.
Closes #5454, #5461.
Changelog