Build script #2

Open
opened 2023-05-09 04:49:11 +00:00 by nu · 4 comments
Owner

Since I'm now adding inline POD for developer documentation (I haven't committed this yet, I'm still working on some stuff before I do), it might be good to create a build script that strips all the POD documentation from the files to shrink things down for prod usage. Maybe also a general code compression/cleaning thing for this purpose? One that gets rid of comments as well, and unnecessary (or, all) whitespace, and maybe things that only apply to the dev environment (like the cache disabler). Not to mention stuff like the .vscode folder lol

Since I'm now adding inline POD for developer documentation (I haven't committed this yet, I'm still working on some stuff before I do), it might be good to create a build script that strips all the POD documentation from the files to shrink things down for prod usage. Maybe also a general code compression/cleaning thing for this purpose? One that gets rid of comments as well, and unnecessary (or, all) whitespace, and maybe things that only apply to the dev environment (like the cache disabler). Not to mention stuff like the .vscode folder lol
nu added the
new feature
label 2023-05-09 04:49:11 +00:00
Author
Owner

For POD stripping:

There's also perltidy which does comment stripping and maybe POD stripping too?

For POD stripping: * [Pod::Stripper](https://metacpan.org/pod/Pod::Stripper) * [Pod::Strip](https://metacpan.org/pod/Pod::Strip) There's also `perltidy` which does comment stripping and maybe POD stripping too?
nu added this to the CharmBoard v1.0 milestone 2023-05-09 05:12:26 +00:00
Author
Owner

Might be good to also have something that auto-compiles(? prob not the word) any Less or SCSS code to CSS, if this makes sense to do with how themes and layouts end up being implemented

Might be good to also have something that auto-compiles(? prob not the word) any Less or SCSS code to CSS, if this makes sense to do with how themes and layouts end up being implemented
Author
Owner

Oh yeah, same thing with TypeScript -> JavaScript as I'll probably not dare using bare JS

Oh yeah, same thing with TypeScript -> JavaScript as I'll probably not dare using bare JS
Author
Owner

And, for switching to the minified verson of htmx

And, for switching to the minified verson of htmx
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nu/CharmBoard#2
No description provided.