Slim down entries, relying on package.json exports
Signed-off-by: Axel Hecht <axel@pike.org>
This commit is contained in:
@@ -61,13 +61,7 @@ async function generateKnipConfig({ knipConfigPath }: KnipConfigOptions) {
|
||||
workspaces: {
|
||||
'.': {},
|
||||
'{packages,plugins}/*': {
|
||||
entry: [
|
||||
'dev/index.{ts,tsx}',
|
||||
'src/index.{ts,tsx}',
|
||||
'src/alpha.{ts,tsx}',
|
||||
'src/routes.ts',
|
||||
'src/run.ts',
|
||||
],
|
||||
entry: ['dev/index.{ts,tsx}', 'src/index.{ts,tsx}'],
|
||||
ignore: [
|
||||
'.eslintrc.js',
|
||||
'config.d.ts',
|
||||
|
||||
Reference in New Issue
Block a user