From b1a01d4b8adf2480e4b77c83ec60daeaeafd1114 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Tue, 13 Jul 2021 09:07:02 +0900 Subject: [PATCH] fix(vue-i18n-loader): change from cli to bundle-utils --- packages/vue-i18n-loader/package.json | 2 +- packages/vue-i18n-loader/src/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/vue-i18n-loader/package.json b/packages/vue-i18n-loader/package.json index a33127f..12be51d 100644 --- a/packages/vue-i18n-loader/package.json +++ b/packages/vue-i18n-loader/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/intlify/bundle-tools/issues" }, "dependencies": { - "@intlify/cli": "^0.5.0", + "@intlify/bundle-utils": "^0.1.0", "@intlify/shared": "^9.1.6", "loader-utils": "^2.0.0" }, diff --git a/packages/vue-i18n-loader/src/index.ts b/packages/vue-i18n-loader/src/index.ts index 479165d..4e6829a 100644 --- a/packages/vue-i18n-loader/src/index.ts +++ b/packages/vue-i18n-loader/src/index.ts @@ -4,9 +4,9 @@ import loaderUtils from 'loader-utils' import { parse, ParsedUrlQuery } from 'querystring' import { RawSourceMap } from 'source-map' import { isEmptyObject, isString } from '@intlify/shared' -import { generateJSON, generateYAML } from '@intlify/cli' +import { generateJSON, generateYAML } from '@intlify/bundle-utils' -import type { CodeGenOptions, DevEnv } from '@intlify/cli' +import type { CodeGenOptions, DevEnv } from '@intlify/bundle-utils' import type { VueI18nLoaderOptions } from './options' const loader: webpack.loader.Loader = function (