in bentley/react-scripts we have a plugin to copy all files from @itwin/blah//public/ into the final bundle. This is because in itwinjs we use the public directory for static assets like i18n files, icons, cursors, etc.
I noticed all these helper types from the base/public folder were getting copied into my final bundle and they didnt need to be.
Renamed public dir to types, but lmk if something else is better
in bentley/react-scripts we have a plugin to copy all files from @itwin/blah//public/ into the final bundle. This is because in itwinjs we use the public directory for static assets like i18n files, icons, cursors, etc.
I noticed all these helper types from the base/public folder were getting copied into my final bundle and they didnt need to be.
Renamed public dir to types, but lmk if something else is better