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

Move admin build to dist directory #6958

Draft
wants to merge 4 commits into
base: 2.6
Choose a base branch
from

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Dec 19, 2022

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #5216
Related issues/PRs #
License MIT
Documentation PR sulu/sulu-docs#

What's in this PR?

Move admin build to dist directory.

Why?

Avoid conflict with webpack encore or asset mapper.

Webpack Encore uses: public/build
Assetmapper uses: public/assets

@alexander-schranz alexander-schranz added the DX Affecting the end developer label Dec 19, 2022
@alexander-schranz alexander-schranz force-pushed the feature/move-admin-build-to-dist-directory branch from 7dac9c5 to b35a0f2 Compare December 19, 2022 20:14
@alexander-schranz
Copy link
Member Author

@chirimoya Did mention that he would maybe go with /dist/build/admin. @sulu/core-team what do you think?

@wachterjohannes
Copy link
Member

@chirimoya Did mention that he would maybe go with /dist/build/admin. @sulu/core-team what do you think?

would go with public/dist

@alexander-schranz
Copy link
Member Author

alexander-schranz commented Apr 26, 2024

@chirimoya Should we do this in 2.6? Or only in the major 3.0 upgrade?


I did lately setup a assetmapper project there a different directory is also used which we need avoid for our build:

Webpack Encore uses: public/build
Assetmapper uses: public/assets

One other way could be we use something like public/cms as a build directory.

@chirimoya
Copy link
Member

@alexander-schranz let's discuss on Monday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Affecting the end developer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants