1.the config:
plugins:[ new HtmlWebpackPlugin({ template: './src/index.html' }), new webpack.DllReferencePlugin({ manifest: resolve(__dirname, 'dll/manifest.json') }), new AddAssetHtmlWebpackPlugin({ filepath: require.resolve("./dll/jquery.js") }) ]
2.run 'webpack'
success
3.but the inserted script label is wrong
inserted script
<script defer="defer" src="auto/jquery.js"></script>
the src should be 'jquery.js' rather than 'auto/jquery.js'
4.It's may a bug, would you mind give some advice?