2022-08-29 18:57:58 +02:00
|
|
|
import Foundation
|
|
|
|
|
2022-09-08 09:33:27 +02:00
|
|
|
struct Configuration: Codable {
|
2022-08-29 18:57:58 +02:00
|
|
|
|
|
|
|
let pageImageWidth: Int
|
2022-09-05 15:56:05 +02:00
|
|
|
|
|
|
|
let minifyCSSandJS: Bool
|
2022-09-05 16:08:06 +02:00
|
|
|
|
|
|
|
let contentPath: String
|
|
|
|
|
|
|
|
let outputPath: String
|
|
|
|
|
|
|
|
var contentDirectory: URL {
|
|
|
|
.init(fileURLWithPath: contentPath)
|
|
|
|
}
|
|
|
|
|
|
|
|
var outputDirectory: URL {
|
|
|
|
.init(fileURLWithPath: outputPath)
|
|
|
|
}
|
2022-08-29 18:57:58 +02:00
|
|
|
}
|