goatslacker/alt

Replace browserify with webpack

Open

#345 创建于 2015年6月22日

在 GitHub 查看
 (10 评论) (0 反应) (0 负责人)JavaScript (337 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (3,451 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南