goatslacker/alt

Replace browserify with webpack

Open

#345 opened on Jun 22, 2015

View on GitHub
 (10 comments) (0 reactions) (0 assignees)JavaScript (3,451 stars) (337 forks)batch import
enhancementhelp wanted

Description

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?

Contributor guide