GLTFLoader with an instance of DRACOLoader is giving error

@gkjohnson @donmccurdy I saw this post of yours How to use DRACOLoader with GLTFLoader with bare module imports? and figured that for setDecoderPath a cdn link or something like can be used but can we not use local files for it in parcel and is it good to just set it with cdn like this.

dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/js/libs/draco/' );
loader.setDRACOLoader( dracoLoader );

Help here