You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and npm run monoA, webpack alias "@": 'dir/monoA'
and npm run monoB, webpack alias "@": 'dir/monoB'
then: How are aliases properly addressed
The text was updated successfully, but these errors were encountered:
zhongmeizhi
changed the title
In the mono project, How are webpack aliases properly addressed
In the monorepo, How are webpack aliases properly addressed
Oct 18, 2022
Unfortunately Webpack aliases are not addressed at all with Knip. Do you know of a tool to find unused things that does support Webpack aliases?
That said, without knowing the complexity of it all, at first sight it looks similar to TypeScript paths configuration, so it might be doable to add (Webpack plugins are also on my mind for #7).
Let's keep this ticket open. Not highest priority, though. Do you have a repository I could see and explore things?
example:
and
npm run monoA
, webpack alias"@": 'dir/monoA'
and
npm run monoB
, webpack alias"@": 'dir/monoB'
then: How are aliases properly addressed
The text was updated successfully, but these errors were encountered: