example of code:
import { StandardRenderingPipeline } from '@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/standardRenderingPipeline';
new StandardRenderingPipeline('standard', scene, 1.0, null, [camera]);
throws error TypeError: Cannot read property 'addPipeline' of undefined
but if change import to import { StandardRenderingPipeline } from '@babylonjs/core/PostProcesses';
than it works fine.
But as i understood for better tree-shaking i must use firt kind of import. Is it right? What I do wrong?