mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-06-27 18:44:08 +08:00
#1 -- added support to import app configuration based on --env
This commit is contained in:
+2
-1
@@ -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
@@ -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
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user