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.
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.