Skip to content

Commit 85e99df

Browse files
authored
Add 'baseLocale' to paraglideVitePlugin strategy (#376)
1 parent 497fbe1 commit 85e99df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create/src/frameworks/react/project/base/vite.config.ts.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const config = defineConfig({
1414
plugins: [devtools(), <% if (addOnEnabled.paraglide) { %>paraglideVitePlugin({
1515
project: './project.inlang',
1616
outdir: './src/paraglide',
17-
strategy: ['url'],
17+
strategy: ['url', "baseLocale"],
1818
}), <% } %><% for(const integration of integrations.filter(i => i.type === 'vite-plugin')) { %><%- integrationImportCode(integration) %>,<% } %>
1919
tsconfigPaths({ projects: ['./tsconfig.json'] }),
2020
tailwindcss(),

0 commit comments

Comments
 (0)