建议使用基于redux封装出来的rematch, anujs也自带了这个框架。
rematch的官网
https://github.com/rematch/rematch
resolve: { alias: { react: "anujs", "react-dom": "anujs", rematch: "anujs/dist/Rematch.js" } },