#1 -- added support to import app configuration based on --env

This commit is contained in:
sthzg
2015-10-20 00:34:36 +02:00
parent 8550022eb5
commit 236012dea6
9 changed files with 57 additions and 2 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ module.exports = {
components: srcPath + '/components/',
sources: srcPath + '/sources/',
stores: srcPath + '/stores/',
styles: srcPath + '/styles/'
styles: srcPath + '/styles/',
config: srcPath + '/config/' + process.env.REACT_WEBPACK_ENV
}
},
module: {
+2 -1
View File
@@ -27,7 +27,8 @@ module.exports = {
components: srcPath + 'components/',
sources: srcPath + 'sources/',
stores: srcPath + 'stores/',
styles: srcPath + 'styles/'
styles: srcPath + 'styles/',
config: srcPath + 'config/' + process.env.REACT_WEBPACK_ENV
}
}
};