There is a problems when generating proto. Generated files would include
import * as _m0 from "protobufjs/minimal";
But it must be
import _m0 from 'protobufjs/minimal.js';