goatslacker/alt

Replace browserify with webpack

Open

#345 建立於 2015年6月22日

在 GitHub 查看
 (10 留言) (0 反應) (0 負責人)JavaScript (3,451 star) (337 fork)batch import
enhancementhelp wanted

描述

I am using babel-requirejs for having ES6 syntax and modules for my AMD modules. I've loaded Alt from the Bower but something was wrong. I mean, the file dist/alt-with-addons.js does not seem to be built correctly. It assumes React is global rather than the UMD module. It is not clear how to use mentioned addons. E.g. how to import connectToStores from alt-with-addons.js? That file seems to be built in the wrong way. Maybe it would be better to use Webpack to build the correct UMD module?

貢獻者指南