@oazmi/superbuild - v0.1.0
    Preparing search index...

    Module plugins/native_replica

    a plugin that replicates esbuild's native resource/path resolution and loading behavior through the plugin api layer.

    • for resolving paths, the plugin creates a sub-build that is free of any contaminating plugins to get esbuild to resolve the input resource naturally.
    • for loading content, the plugin places an onLoad hook to capture all file-namespace paths, and then mimics esbuild's native loading behavior by guessing the loader it would use, and then fetches the content (without invoking esbuild's native loading in the process).

    Classes

    EsbuildNativeResolver

    Functions

    nativeReplicaPluginSetup
    nativeReplicaPlugin