- Leverage webpack chunk splitting to creating more, smaller JS files rather than one large main file (import(file) syntax) - Enable long-term caching by adding content hash to output file names - Copy entire /dist folder contents in Dockerfile - Changed yarn start-dev -> yarn start since there is no prod server - Reenable locale picker
16 lines
414 B
JSON
16 lines
414 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/lit/lit/main/packages/localize-tools/config.schema.json",
|
|
"sourceLocale": "en",
|
|
"targetLocales": ["en-US"],
|
|
"tsConfig": "tsconfig.json",
|
|
"output": {
|
|
"mode": "runtime",
|
|
"outputDir": "src/__generated__/locales",
|
|
"localeCodesModule": "src/__generated__/locale-codes.ts"
|
|
},
|
|
"interchange": {
|
|
"format": "xliff",
|
|
"xliffDir": "xliff"
|
|
}
|
|
}
|