Convert client-side app into commonjs and bundle using webpack.