Fix script imports

This commit is contained in:
Christoph Hagen
2023-12-18 21:30:39 +01:00
parent 54a4d6dbc3
commit ddf489c2c4
3 changed files with 15 additions and 6 deletions

View File

@ -3,6 +3,13 @@ import Foundation
enum HeaderFile: String {
case codeHightlighting = "highlight.js"
case modelViewer = "model-viewer.js"
var asModule: Bool {
switch self {
case .codeHightlighting: return false
case .modelViewer: return true
}
}
}
typealias RequiredHeaders = Set<HeaderFile>