Skip to content
New issue

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

There is an extra auto in the file path #260

Open
jingzhiz opened this issue Apr 15, 2022 · 2 comments
Open

There is an extra auto in the file path #260

jingzhiz opened this issue Apr 15, 2022 · 2 comments

Comments

@jingzhiz
Copy link

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')
})

image

@mouday
Copy link

mouday commented May 23, 2022

i want to know how to resolve it too!

@soonssa
Copy link

soonssa commented Jun 6, 2022

new AddAssetHtmlWebpackPlugin({
filepath: resolve(__dirname, '../dll/dll_react.js'),
outputPath: '',
publicPath: '',
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants