Posted on 18/08/2025 16:09:32
Hi Joakim
It is more or less the same on Swift 2. Swift 2 comes in a distribution version that has been build or a source code version where you alter what you want and build it your self.
Discussed here: https://doc.dynamicweb.dev/swift/key-concepts/swift-css.html?tabs=source#two-approaches-source-vs-distribution
The entire source of Swift is available on Github: https://github.com/dynamicweb/Swift
Here is a guide on cloning swift 2 source, make modifications, and pull updates of Swift from Github: https://doc.dynamicweb.dev/swift/customization/developer-tools.html?tabs=azure
So if you want to modify Swifts builtin html, css and js, you clone the github repo and make your modifications - and if you want to add your modifications on top of swift without touching Swift files, you can use the distributed version.
We have chosen this path as that ressembles that of many software projects.
BR Nicolai