Open jingzhiz opened 2 years ago
When I configure this way why is the script tag src property path 'auto/dll_react.js' in the resulting html file not 'dll_react.js'
new HtmlWebpackPlugin({ template: './index.html' }), new VueLoaderPlugin(), new ProvidePlugin({ axios: 'axios', get: ['axios', 'get'] }), new DllReferencePlugin({ manifest: pathResolve('./dll/react.manifest.json') }), new AddAssetHtmlWebpackPlugin({ filepath: resolve(__dirname, '../dll/dll_react.js') })
i want to know how to resolve it too!
new AddAssetHtmlWebpackPlugin({ filepath: resolve(__dirname, '../dll/dll_react.js'), outputPath: '', publicPath: '', })
When I configure this way why is the script tag src property path 'auto/dll_react.js' in the resulting html file not 'dll_react.js'