Bug
core/index.js exports VERSION = '0.4.0' but package.json has version: '0.1.0'. The actual npm published version is 2.1.19. All three should be in sync.
Fix
Use a single source of truth — either read from package.json at build time, or update the constant as part of the release process.
Bug
core/index.jsexportsVERSION = '0.4.0'butpackage.jsonhasversion: '0.1.0'. The actual npm published version is2.1.19. All three should be in sync.Fix
Use a single source of truth — either read from package.json at build time, or update the constant as part of the release process.