Require.js Build Optimization Configuration
问题 I'm having a hard time getting the require.js build just right. I have a main module and then the other pages/modules are lazy loaded. When it's done compiling, I have to fix the compiled dist/main.js or the app will load the compiled main module from the dist folder, but other modules are still loaded from the app folder. I have to change the require.config baseurl from /app to /dist . What do I need to reconfigure to get it to build correctly? Directory Structure ├── app │ ├── modules │ │ ├