Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sergix44 committed May 16, 2024
1 parent 4ddbb80 commit 9212b6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "laravel-translator",
"type": "module",
"version": "1.1.0",
"version": "1.1.1",
"description": "Laravel localization bridge for your frontend.",
"main": "dist/index.cjs",
"module": "dist/index.js",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"scripts": {
"tests": "vitest --run",
"prepublishOnly": "tsup ./src --external virtual-laravel-translations --format cjs,esm --dts"
"prepublishOnly": "tsup ./src --external virtual-laravel-translations,vue --format cjs,esm --dts"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion src/vue.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import {trans, trans_choice} from "./index";
import {App, computed, Ref} from "vue";
import {Config} from "./translator";

// @ts-ignore
import translations from 'virtual-laravel-translations';
import {Config} from "./translator";

export const LaravelTranslatorVue = {
install: (app: App, options: ConfigVue) => {
Expand Down

0 comments on commit 9212b6c

Please sign in to comment.