mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-07-06 03:25:11 +08:00
Keep the alias for config
This alias is needed to load the config for the env and pass ConfigTest.js
This commit is contained in:
+4
-2
@@ -38,9 +38,11 @@ module.exports = {
|
||||
`${defaultSettings.srcPath}/styles`,
|
||||
`${defaultSettings.srcPath}/helpers`,
|
||||
`${defaultSettings.srcPath}/data`,
|
||||
`${defaultSettings.srcPath}/config` + process.env.REACT_WEBPACK_ENV,
|
||||
`${defaultSettings.srcPath}`
|
||||
]
|
||||
],
|
||||
alias: {
|
||||
config: `${defaultSettings.srcPath}/config` + process.env.REACT_WEBPACK_ENV
|
||||
}
|
||||
},
|
||||
module: {}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user