Dva+roadhog project, once the webpack.config.js,roadhog configuration is written, will it still work?

dva version: 2.1.0

roadhog version: 1.3.1

roadhog officially does not recommend using webpack.config.js for configuration, but uses your own .uplohogrc or .uplohogrc.js .

but now I need to use webpack.config.js in my project to make the configuration more flexible. My question is, once I have the file webpack.config.js , will the configuration written in .uplohogrc or .uplohogrc.js still work?

Mar.03,2021

will certainly work.
unless you overwrite all the configurations of roadhog via webpack .

Menu