From 9212b6c23e9061fd2ac4f6b3686013846c383c82 Mon Sep 17 00:00:00 2001 From: Sergio Brighenti Date: Fri, 17 May 2024 01:17:44 +0200 Subject: [PATCH] fix --- package.json | 4 ++-- src/vue.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1d558c4..20f9fe2 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", diff --git a/src/vue.ts b/src/vue.ts index 7ca565e..af543e5 100644 --- a/src/vue.ts +++ b/src/vue.ts @@ -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) => {