the webpack package file js css images is separated, and bundle-loder is used to separate the routing components, so how can the routing components be automatically separated to the specified directory?
webpack production environment. The common path for build, js css img packages has its own directory, but demand loading is generated directly in the root directory.
related codes
/ Route load on demand
import UserContainer from "bundle-loader?lazy!../User";
import PortalConfigContainer from "bundle-loader?lazy!../PortalConfig";
import TagContainer from "bundle-loader?lazy!../Tag";
import AppContainer from "bundle-loader?lazy!../App";
import LogContainer from "bundle-loader?lazy!../Log";
import NotificationContainer from "bundle-loader?lazy!../Notification";
import LoginContainer from "bundle-loader?lazy!../Login";
import ThemeContainer from "bundle-loader?lazy!../Theme";