Active
Project:
BS Base
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2022 at 15:26 UTC
Updated:
17 Oct 2023 at 07:28 UTC
Jump to comment: Most recent
Gulp is not developed any more - last release 4.0.2 happened in 2019. We should switch to something else.
Bootstrap 5 is using npm scripts - https://getbootstrap.com/docs/5.2/getting-started/contribute/#tooling-setup.
There are other newer build tools like:
- Parcel
- Webpack
Check https://github.com/postcss/postcss for more info about possible newer popular build tools.
Consider doing more research before starting with this.
Replacing gulp build process will be not that easy because of custom gulp-options.yml and SASS import compilation support for parent themes.
Comments
Comment #2
pivica commentedGulp has some registry system for better use/sharing of tasks, worth of checking https://gulpjs.com/docs/en/advanced/creating-custom-registries/.
Comment #3
pivica commentedDrupal 10 switched to postcss in core themes with some simple js scripts that are executed with node from package.json with.
Still I don't like fully just postcss approach, it is great for autoprefixer support and other similar stuff, but sass still looks much better.
For now I think the best options are: