diff --git a/README.md b/README.md index e6b4ec6..f2c4f14 100644 --- a/README.md +++ b/README.md @@ -211,7 +211,7 @@ AutoImport({ dts: './auto-imports.d.ts', // Auto import inside Vue template - // see https://github.com/unjs/unimport/pull/15 + // see https://github.com/unjs/unimport/pull/15 and https://github.com/unjs/unimport/pull/72 vueTemplate: false, // Custom resolvers, compatible with `unplugin-vue-components` diff --git a/package.json b/package.json index 8524e52..38845e7 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "@rollup/pluginutils": "^4.2.1", "local-pkg": "^0.4.1", "magic-string": "^0.26.2", - "unimport": "^0.2.9", + "unimport": "^0.3.0", "unplugin": "^0.7.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e720c34..5e85cad 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,7 +20,7 @@ importers: rollup: ^2.75.7 tsup: ^6.1.2 typescript: ^4.7.4 - unimport: ^0.2.9 + unimport: ^0.3.0 unplugin: ^0.7.0 vite: ^2.9.12 vitest: ^0.15.2 @@ -30,7 +30,7 @@ importers: '@rollup/pluginutils': 4.2.1 local-pkg: 0.4.1 magic-string: 0.26.2 - unimport: 0.2.10_bnx2kifegytxvrbi4d7rxlduyu + unimport: 0.3.0_bnx2kifegytxvrbi4d7rxlduyu unplugin: 0.7.0_bnx2kifegytxvrbi4d7rxlduyu devDependencies: '@antfu/eslint-config': 0.25.1_b5e7v2qnwxfo6hmiq56u52mz3e @@ -5408,8 +5408,8 @@ packages: which-boxed-primitive: 1.0.2 dev: true - /unimport/0.2.10_bnx2kifegytxvrbi4d7rxlduyu: - resolution: {integrity: sha512-HoQ0ZDzHJboRYJ4/YxtMAATxiya/s5C2UE6jLFNj1e0D6Qfq6Pw2P40L+ALCkjLwLhR8l2VROE7kba/AaFtdQg==} + /unimport/0.3.0_bnx2kifegytxvrbi4d7rxlduyu: + resolution: {integrity: sha512-RxvfvKBY+CyBmIuYSuBeosSiudgcVakdhVofy5mO5sJ3purQRc5yjLw0Lir7MKHnqe6XT1++8flgAvpxu1UkqQ==} dependencies: '@rollup/pluginutils': 4.2.1 escape-string-regexp: 5.0.0 diff --git a/src/types.ts b/src/types.ts index 50ec6a5..f2cc865 100644 --- a/src/types.ts +++ b/src/types.ts @@ -108,6 +108,7 @@ export interface Options { * Auto import inside Vue templates * * @see https://github.com/unjs/unimport/pull/15 + * @see https://github.com/unjs/unimport/pull/72 * @default false */ vueTemplate?: boolean