fix: don't crash if primus.js isn't built yet

- allows it to be built
setup webpack for multiple entry points (as needed)