Skip to content

Instantly share code, notes, and snippets.

@Akryum
Last active February 3, 2026 14:07
Show Gist options
  • Select an option

  • Save Akryum/2ec0a198c49f0364bfeafcda31e872c7 to your computer and use it in GitHub Desktop.

Select an option

Save Akryum/2ec0a198c49f0364bfeafcda31e872c7 to your computer and use it in GitHub Desktop.
Use webpack-assets-manifest with Vue CLI 3
module.exports = {
chainWebpack: config => {
config
.plugin('manifest')
.use('webpack-assets-manifest', [{
publicPath: process.env.BASE_URL,
output: process.env.NODE_ENV === 'development' ? 'webpack.dev.manifest.json' : 'webpack.manifest.json',
writeToDisk: true,
}])
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment