Skip to content

Loader Examples #1

@tolmasky

Description

@tolmasky
  1. markdown loader (extract fenced items and source-map)
  2. TypeScript loader
  3. CoffeeScript loader
  4. npm: scheme loader (import "npm:blah") globally installs (if necessary), then redirects to location.
  5. https loader
  6. tar loader: import "x.tar/file" reads from tar file

Critically: they should all compose together:

import "npm:pizza/x.tar/y.ts"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions