feat(build): Better support for custom codecs (#999)BREAKING CHANGE: `CODEC_PATH` moved from const to fn