up#tree-shaking">treeshaking</a>.</p>
<p>This concept works well with <a href="../custom-bundle/">custom bundling</a> to create a shared package tailored exactly to your needs.</p>
<p>If you would prefer to not worry about selective imports please see the section on <a href="#presets">presets</a>.</p>
<blockquote>
<p>A quick note on how TypeScript handles type only imports. If you have a line like <code>import { IWeb } from "@pnp/sp/webs"</code> everything will transpile correctly but you will get runtime e