##// END OF EJS Templates
corrected i18n, css modules to support requirejs optimizer...
corrected i18n, css modules to support requirejs optimizer i18n bundles now conforms js modules with default exports (breaking change!)

File last commit:

r53:deb0ed6fb680 v1.0.7 default
r53:deb0ed6fb680 v1.0.7 default
Show More
foo.ts
8 lines | 199 B | video/mp2t | TypeScriptLexer
import { bundle } from "../i18n";
export default bundle({
greeting: (name: string) => `Hello, ${name}!`,
goodbye: (name: string) => `Bye, ${name}!`
}, {
ru: () => import("./ru/foo")
});