Skip to content

Commit 03ff1f2

Browse files
committed
refactor: fix axe
1 parent 7c3341b commit 03ff1f2

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

packages/plugin-axe/src/_index.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
export { axePlugin } from './lib/axe-plugin.js';
2+
3+
export type { AxePluginOptions, AxePreset } from './lib/config.js';
4+
export type { AxeGroupSlug } from './lib/groups.js';
5+
6+
export {
7+
axeAuditRef,
8+
axeAuditRefs,
9+
axeGroupRef,
10+
axeGroupRefs,
11+
} from './lib/utils.js';
12+
export { axeCategories } from './lib/categories.js';

packages/plugin-axe/src/index.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
import { axePlugin } from './lib/axe-plugin.js';
2-
import './lib/polyfills.dom';
32
import './lib/polyfills.dom.js';
43

54
export default axePlugin;
65

7-
export type { AxePluginOptions, AxePreset } from './lib/config.js';
8-
export type { AxeGroupSlug } from './lib/groups.js';
9-
10-
export {
11-
axeAuditRef,
12-
axeAuditRefs,
13-
axeGroupRef,
14-
axeGroupRefs,
15-
} from './lib/utils.js';
16-
export { axeCategories } from './lib/categories.js';
6+
export * from './_index.js';

0 commit comments

Comments
 (0)