2016-08-10 21:36:11 +02:00
|
|
|
/**
|
|
|
|
* This is the main JS entry point.
|
|
|
|
* It loads either the production or the development index file, based on the
|
|
|
|
* environment variables in use.
|
|
|
|
*/
|
2016-07-26 13:21:37 +02:00
|
|
|
if (process.env.NODE_ENV === "production") {
|
|
|
|
module.exports = require("./index.production.js");
|
|
|
|
} else {
|
|
|
|
module.exports = require("./index.development.js");
|
|
|
|
}
|