4c76e3150b
Based on a similar approach I used for AnkiDroid. The separate modules file has been integrated into ftl.js.
12 lines
420 B
TypeScript
12 lines
420 B
TypeScript
// Copyright: Ankitects Pty Ltd and contributors
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
export { ModuleName } from "../../../out/ts/lib/ftl";
|
|
export * from "./bundles";
|
|
export * from "./utils";
|
|
// this is an ugly hack to inject code into a generated module
|
|
import { funcs } from "../../../out/ts/lib/ftl";
|
|
import { getMessage } from "./bundles";
|
|
|
|
funcs.getMessage = getMessage;
|