canjs / can-connect

Model layer utilities for every JavaScript framework! Assemble real-time, high performance, restful data connections.
https://canjs.com/doc/can-connect.html
MIT License
29 stars 16 forks source link

Fix the production build for non-steal bundlers #506

Closed chasenlehara closed 5 years ago

chasenlehara commented 5 years ago

A module.exports was inside a !steal-remove block but outside a process.env.NODE_ENV check, causing production webpack builds to be broken.