aboutsummaryrefslogtreecommitdiff
path: root/src/z/File.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/z/File.zig')
-rw-r--r--src/z/File.zig17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/z/File.zig b/src/z/File.zig
deleted file mode 100644
index cd19dba..0000000
--- a/src/z/File.zig
+++ /dev/null
@@ -1,17 +0,0 @@
-const Minifier = @import("Minifier.zig");
-const Element = @import("html").Element;
-
-tag: ?@EnumLiteral(),
-minifier: Minifier,
-
-pub fn load(comptime self: @This(), comptime content: []const u8) Element {
- if (self.tag) |tag| {
- return .native(
- tag,
- .{},
- .content(comptime self.minifier.minify(content)),
- );
- } else {
- return .transparent(.content(comptime self.minifier.minify(content)));
- }
-}