mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 02:12:30 +01:00
23 lines
559 B
JavaScript
23 lines
559 B
JavaScript
/**
|
|
* @type { import("@inlang/core/config").DefineConfig }
|
|
*/
|
|
export async function defineConfig(env) {
|
|
const { default: i18nextPlugin } = await env.$import(
|
|
"https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@3/dist/index.js",
|
|
)
|
|
|
|
const { default: standardLintRules } = await env.$import(
|
|
"https://cdn.jsdelivr.net/npm/@inlang/plugin-standard-lint-rules@3/dist/index.js",
|
|
)
|
|
|
|
return {
|
|
referenceLanguage: "en",
|
|
plugins: [
|
|
i18nextPlugin({
|
|
pathPattern: "public/locales/{language}/translation.json",
|
|
}),
|
|
standardLintRules(),
|
|
],
|
|
}
|
|
}
|