We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在实际业务中,某些文件不需要初始化的时候就加载进来,我们需要将这部分代码进行分割,只在合适的时机加载它们,这样既可以节省用户带宽,也可以提高页面载入速度
2.require.include
The text was updated successfully, but these errors were encountered:
No branches or pull requests
概念
在实际业务中,某些文件不需要初始化的时候就加载进来,我们需要将这部分代码进行分割,只在合适的时机加载它们,这样既可以节省用户带宽,也可以提高页面载入速度
实现
webpack methods
参数: []:dependencies依赖,不会执行依赖
callback: 需要require要执行的依赖
errorCallback(可选)
chunkName
2.require.include
ES2015 Loader
The text was updated successfully, but these errors were encountered: