Skip to content

Instantly share code, notes, and snippets.

@vinayakhumberi
Last active March 11, 2020 09:46
Show Gist options
  • Save vinayakhumberi/455be6823419c7fcd7990b5d4b8433ca to your computer and use it in GitHub Desktop.
Save vinayakhumberi/455be6823419c7fcd7990b5d4b8433ca to your computer and use it in GitHub Desktop.
Webpack Performance Hacks
// Your default webpacl config
const path = require('path');
module.exports = {
entry: './path/to/my/entry/file.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'main-webpack.bundle.js'
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment