Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Loaders

Loaders are the method of resolving and loading files into the MEML web targeter. The easiest way to add a new language to the web target, is to add a custom loader. All loaders must implement ILoader and all necessary methods.

Additionally, if you want to use a custom loader system (e.g. webpack), you would implement ILoader, wipe MemlCore.globalLoaders and add your own loader

todo

Migrate linker.ts to a class that can be extended and overridden for additional support of other builders (e.g. webpack)

Index

Functions

relativeLink

  • relativeLink(contents: string, filePath: string, hostPath: string): Promise<string>

resetLinker

  • resetLinker(): void

Generated using TypeDoc