Skip to content

kskalski/rollup-protobufjs

 
 

Repository files navigation

Rollup - Protobuf.js Issue Example

This repository illustrates an issue packaging protobufjs inside of a bundle built by rollup.

References:

Instructions:

To replicate the issue:

  • npm i
  • npm run build
  • Open index.html in you browser, and view the error in the console.

Error

field.js:6 Uncaught TypeError: Cannot read property 'prototype' of undefined
   at field.js:6
   at index.umd.js:4
   at index.umd.js:5

Notes

  • object.js and ReflectionObject var are initialized after their uses in field.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 90.4%
  • HTML 9.6%