Skip to content

Make IO and path operations replaceable for use in VFS contexts. - #243

Open
mash-graz wants to merge 1 commit into
11ty:mainfrom
mash-graz:main
Open

Make IO and path operations replaceable for use in VFS contexts.#243
mash-graz wants to merge 1 commit into
11ty:mainfrom
mash-graz:main

Conversation

@mash-graz

Copy link
Copy Markdown

These changes are required for Lume VFS support.

Fixes: #242

As long as no alternative read or resolve operation gets set via global customLoader object, everything behaves just as before.

Internally some minor changes were made, to use async readFile instead of readFileSync.

These changes are required for Lume VFS support.

Fixes: 11ty#242

As long as no alternative `read` or `resolve` operation gets set via
global `custom Loader` object, everything behaves just as before.

Internally some minor changes were made, to use async `readFile`
instead of `readFileSync`.
@Ryuno-Ki

Copy link
Copy Markdown

LGTM.

(I don't have the right permissions here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: custom loader API

2 participants