5 lines
145 B
JavaScript
5 lines
145 B
JavaScript
|
window.require = (name) => {
|
||
|
if (name === "protobufjs/light") return window.protobuf;
|
||
|
else throw new Error(`Cannot require ${name}`);
|
||
|
};
|