-
-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
Description
Hey there.
Could it be easy to add an extra option in src/interfaces/plugin-options.ts like this
excludeFrameworkTranslations: boolean,
and then in src/vite.ts
to change it into
const excludeFrameworkTranslations = typeof options === 'string' ? options === 'lang' : options.excludeFrameworkTranslations ?? true
const frameworkLangPath = excludeFrameworkTranslations ? '' : 'vendor/laravel/framework/src/Illuminate/Translation/lang/'.replace('/', path.sep)
This way we'll be able to optionally skip framework translations, and having this php_en.json generated.
Metadata
Metadata
Assignees
Labels
No labels