Currently I import DracoLoader like below:
import { DRACOLoader } from ‘three/examples/js/loaders/DRACOLoader.js’;
and using it like
const dracoloader = new DRACOLoader();
dracoloader.setDecoderPath( ‘…/…/scripts/draco/draco’);
const loader = new GLTFLoader(manager).setPath(that.config.pathFolderModel);