Skip to content

Conversation

@anneke
Copy link
Collaborator

@anneke anneke commented Dec 31, 2024

A little bit of cleanup to make best use of Claudia's earlier refactoring of a seperate filters.js file.

Signed-off-by: Anneke Sinnema <mail@annekesinnema.nl>
Signed-off-by: Anneke Sinnema <mail@annekesinnema.nl>
@anneke anneke requested review from a team as code owners December 31, 2024 21:31
@anneke anneke requested review from SleeplessByte and maniflames and removed request for a team December 31, 2024 21:31
@anneke anneke changed the title Limit local build Cleanup filters/Speed up local build Dec 31, 2024
Comment on lines +235 to +236
const inputDir = 'dist/assets/images/social-preview-images/';
const outputDir = 'dist/assets/images/social-preview-images/';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is using fs, so this needs to use path.join('...', '...', '...');.

You may want to update the path and fs import to node: to prevent any package from providing those features down the line (security).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heb deze meegenomen in #556 ! Deze PR is alweer even geleden 😬

},

};
readablePostDate(dateObj) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the new syntax to provide filters?

anneke added a commit that referenced this pull request Nov 15, 2025
#499 (comment)
Signed-off-by: Anneke Sinnema <mail@annekesinnema.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants