From 4d5f1cb79ab430691f3028e1ed2dafdeb9c43540 Mon Sep 17 00:00:00 2001 From: sophie Date: Wed, 24 Jul 2024 22:08:33 +0300 Subject: [PATCH] insert ZWSP's --- website/blogs/build-system.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/blogs/build-system.md b/website/blogs/build-system.md index 9fb89ab..e7934e3 100644 --- a/website/blogs/build-system.md +++ b/website/blogs/build-system.md @@ -12,7 +12,7 @@ For [my project](https://sad.ovh), I wanted to have a system where I could flawl Honestly? I have no clue. I was looking at Esbuild, realised it doesn't have the features that I want (and the ones that it did have, I would've been forced to use through CLI). I also looked at webpack, realised it's way too slow and bulky have you ever even SEEN webpack's code? It's ). So, I thought that I have no other option than to roll my own. It was not as hard as I thought, as I had already planned most of this previously. ## nice, what does it do? -Currently, [it has 5 plugins](https://git.sad.ovh/sophie/website/src/branch/main/src/plugins). One for development environments, which automatically updates all open tabs on file change, and rebuilds. And then I have two markdown related plugins. One of these compiles .md files into .html files, and the second one compiles .md files into .json. It uses a hugo-esque format for getting the metadata for my blogs. I also added variables. These are defined in the variables.ts plugin, and I currently have `__STICKERS__` for the stickers on the side, and `__BLOG_POSTS__` for the blog posts. There is also a TS/JSX/TSX compiler. +Currently, [it has 5 plugins](https://git.sad.ovh/sophie/website/src/branch/main/src/plugins). One for development environments, which automatically updates all open tabs on file change, and rebuilds. And then I have two markdown related plugins. One of these compiles .md files into .html files, and the second one compiles .md files into .json. It uses a hugo-esque format for getting the metadata for my blogs. I also added variables. These are defined in the variables.ts plugin, and I currently have `__STICKERS​__` for the stickers on the side, and `__BLOG_POSTS​__` for the blog posts. There is also a TS/JSX/TSX compiler. ## woah does the TSX work out of the box? Partly. This is one of the biggest choke points I had with the whole build system. The actual site generation happens entierly in the client, so I had to find a entierly client JSX library.