atom / spell-check

Spell check Atom package
MIT License
204 stars 121 forks source link

Requiring debug breaks Atom's snapshot (blocking Electron upgrade) #356

Closed aminya closed 3 years ago

aminya commented 3 years ago

Description

The added "debug" function and requiring it in the main module breaks the snapshot of Atom. This debug package should be loaded lazily and behind a config that is enabled by the users. It should not be loaded in the production code. https://github.com/atom/atom/pull/21777

https://github.com/atom/spell-check/blob/master/lib/main.js#L2

Error