QubitProducts / slapdash

A lightweight JavaScript utility belt with native method override protection
http://npmjs.org/packages/slapdash
MIT License
3 stars 1 forks source link

Dev build with pre-conditions #49

Open jimmed opened 8 years ago

jimmed commented 8 years ago

In order to smooth the porting of various projects from underscore/lodash to slapdash, I propose:

Then, in a webpack-based project, for example, when running a dev build, we could use the resolve.alias config item to remap from production slapdash to the version with the assertions.

Thoughts?