Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Move the twbs/bootstrap dependency from require-dev to require #1540

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

Merged
merged 1 commit into from
May 16, 2025

Conversation

rosier
Copy link
Contributor

@rosier rosier commented Nov 13, 2024

I don't know if the demo is intended to work in production mode. However since the assets are no longer bundled, but generated during composer install with sass:build i think it makes sense to ensure that bootstrap is always available by moving it to the required dependencies.

Fixes #1509

@rosier
Copy link
Contributor Author

rosier commented Nov 13, 2024

BTW to make the demo work in production mode I also had to run:

APP_ENV=prod bin/console asset-map:compile

@javiereguiluz
Copy link
Member

Jan, sorry I forgot about this PR. Merged!

About the asset error, in the past (when we used Webpack Encore) we included the compiled web assets in this repository. Maybe we should do the same now with AssetMapper? This app has to work perfectly without running any command or configuring anything. Let's think a bit about this. Thanks.

@javiereguiluz javiereguiluz merged commit b1a3755 into symfony:main May 16, 2025
6 checks passed
@rosier rosier deleted the twbs-dep branch May 16, 2025 21:17
xabbuh added a commit that referenced this pull request May 21, 2025
…buh)

This PR was merged into the main branch.

Discussion
----------

run composer validate before installing dependencies

in #1540 it was forgotten to sync the `composer.lock` file

Commits
-------

813b144 run composer validate before installing dependencies
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

Successfully merging this pull request may close these issues.

saas:build fails on --no-dev
2 participants