Skip to content

Commit 52ecbc3

Browse files
committed
chore: Remove TypeScript helper stubs publishing from LocalizerServiceProvider
1 parent c7ebc5b commit 52ecbc3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/LocalizerServiceProvider.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@ public function packageBooted(): void
4545
$this->publishes([
4646
__DIR__.'/../stubs/LocalizerMiddleware.php.stub' => app_path('Http/Middleware/LocalizerMiddleware.php'),
4747
], 'laravel-localizer-middleware');
48-
49-
// Publish TypeScript helper stubs
50-
$this->publishes([
51-
__DIR__.'/../stubs/useTranslation.ts.stub' => base_path('resources/js/hooks/useTranslation.ts'),
52-
__DIR__.'/../stubs/useTranslation.vue.ts.stub' => base_path('resources/js/composables/useTranslation.ts'),
53-
__DIR__.'/../stubs/translator.ts.stub' => base_path('resources/js/utils/translator.ts'),
54-
], 'laravel-localizer-stubs');
5548
}
5649
}
5750

0 commit comments

Comments
 (0)