Skip to content

Commit 53c8e96

Browse files
Recognize vue.config.mjs (#1128)
1 parent b346903 commit 53c8e96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/knip/src/plugins/vue/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const enablers = ['vue'];
1313

1414
const isEnabled: IsPluginEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
1515

16-
const config = ['vue.config.{js,ts}'];
16+
const config = ['vue.config.{js,ts,mjs}'];
1717

1818
const resolveConfig: ResolveConfig<VueConfig> = async (config, options) => {
1919
const { manifest } = options;

0 commit comments

Comments
 (0)