leftiness / react-demo

Other
0 stars 0 forks source link

Combine webpack config files #24

Open leftiness opened 8 years ago

leftiness commented 8 years ago

I think I might be able to set up one config file with multiple entry points. If you go to site.com/, then you get the "normal" one with the app and everything because it enters at main.js, and you can navigate around the app with site.com/#/foo and all that. If you go to site.com/test/, then you get the tests because it enters at ./test/index.js.