wuchale
Version:
Protobuf-like i18n from normal code
10 lines (6 loc) • 377 B
JavaScript
// This is just the default loader.
// You can customize it however you want, it will not be overwritten once it exists and is not empty.
/// <reference types="wuchale/virtual" />
import { loadCatalog, loadIDs, key } from 'virtual:wuchale/proxy' // or proxy/sync
import { registerLoaders } from 'wuchale/load-utils'
export default registerLoaders(key, loadCatalog, loadIDs)