// if you path import('./app/${moduleName}/index') webpack can rematch all /\.\/app\/.+\/index\.js/ // but use dev you only load user module, you can use this packagenewDynamicExpressionsIgnore({variableName: 'moduleName',replacePath: `./app/user/index`})// or use env// cross-env APPNAME=usernewDynamicExpressionsIgnore({variableName: 'moduleName',replacePath: `./app/${process.env.APPNAME}`})