qdot / syncydink

A web based video player that supports multiple viewing modes, haptic formats, and output devices
http://buttplug.world/syncydink
BSD 3-Clause "New" or "Revised" License
21 stars 20 forks source link

Implement Code splitting to keep buttplug-js from being uglified #25

Closed qdot closed 7 years ago

qdot commented 7 years ago

Currently we have webpack add everything to one big chunk, which is then minified by UglifyJSPlugin. This mangling ends up breaking buttplug, as we make some hard assumptions about class naming/fetching that screw up when classes are changed. We should split Buttplug into its own webpack chunk that won't be minified against the rest of the project.

qdot commented 7 years ago

Whoops. Duplicates #7.