possibly based on https://github.com/kemiljk/kejk_vue_rebuild/commit/6c0d3f5c1aab3a9dc8ca18fcf828704cc170bcf5