We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
profile
esmOnly
esm-only
1 parent 712a733 commit 85c10f3Copy full SHA for 85c10f3
1 file changed
src/features/attw.ts
@@ -61,15 +61,7 @@ export async function attw(options: ResolvedConfig): Promise<void> {
61
options.logger.warn('attw is enabled but package.json is not found')
62
return
63
}
64
- let { profile = 'strict', level = 'warn', ...attwOptions } = options.attw
65
-
66
- // @ts-expect-error - deprecated key
67
- if (profile === 'esmOnly') {
68
- options.logger.warn(
69
- 'attw option "esmOnly" is deprecated, use "esm-only" instead',
70
- )
71
- profile = 'esm-only'
72
- }
+ const { profile = 'strict', level = 'warn', ...attwOptions } = options.attw
73
74
const t = performance.now()
75
debug('Running attw check')
0 commit comments