Closed (fixed)
Project:
Paragraphs
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2025 at 13:30 UTC
Updated:
27 Dec 2025 at 13:04 UTC
Jump to comment: Most recent
The current CSS build system in the css/ folder uses outdated tooling from ~2017:
Modernize the build system to align with Drupal 11 standards:
Build system changes:
npm run build, npm run sass, npm run lint)gulpfile.js, gulp-tasks.js, gulp-options.ymlpostcss.config.js and .browserslistrc for modern browser targetsSass modernization (Dart Sass 3.0 compatibility):
@import → @use/@forwardmap-get() → map.get() with @use "sass:map"Code cleanup:
-ms-grid-* vendor prefixes (IE no longer supported).stylelintrc.yml to match Drupal 11 core configurationunit-allowed-list rule matching Drupal coreBrowser support:
last 2 versions, not dead| Old Command | New Command |
|---|---|
npx gulp |
npm run build |
npx gulp sass |
npm run sass |
npx gulp sass:lint |
npm run lint |
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
pivica commentedComment #4
pivica commentedMR ready, tested locally visually and checked css change in details, looks good to me.
Comment #5
pivica commentedThis probably can close #3227917: Coding standard in css files.
Comment #7
berdirMerged.