SASS and JS linting and compilation using Webpack

Created on 4 October 2021, over 3 years ago
Updated 2 October 2023, over 1 year ago

Problem/Motivation

The current theme code seems weak with regards to SASS and javascript compilation.

Proposed resolution

Having created a subtheme using the Bootstrap5 theme subtheming function, I refactored the code to support Webpack compilation for SASS and javascript with stylelint support. Since I don't understand how the subtheming script works, it isn't possible for me to submit a patch. Here's a link to a refactored subtheme, towards somehow improving the subtheming script used to create the subtheme in the first place.

✨ Feature request
Status

Fixed

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States amstercad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia neubreed

    Hi all. the Gitlab repository mentioned in #12 no longer exists .. Is webpack planned to be implemented into this theme?

  • πŸ‡ΊπŸ‡ΈUnited States amstercad

    Greetings @nuebreed,

    When I developed the repo that is now missing, I was trying to be influential in the direction of this theme. I was trying to set an example. That said, not everyone agrees with me, and they've gone their way and I've gone mine. I deleted the repo when my suggested code stopped working with the latest versions of this theme.

    Currently I am developing with the ultra-alpha developer version of Radix 6, which uses Single Directory Components which are now in core.

    Good luck!

  • πŸ‡¦πŸ‡ΊAustralia neubreed

    That's great to hear @Amstercad .. I stopped using Radix a while back. Now it looks to support BS5, so I think I'll give Radix another go.

    Cheers!

Production build 0.71.5 2024