Skip to content

Instantly share code, notes, and snippets.

@yuripramos
Created August 18, 2020 12:17
Show Gist options
  • Save yuripramos/e90500564e51e17d7bb66a05d381f478 to your computer and use it in GitHub Desktop.
Save yuripramos/e90500564e51e17d7bb66a05d381f478 to your computer and use it in GitHub Desktop.
hash example 1
const path = require('path');
module.exports = {
entry: {
vendor: './vendor.js',
main: './index.js'
},
output: {
path: path.join(__dirname, 'build'),
filename: '[name].[hash].js'
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment