Last active
March 11, 2020 09:46
-
-
Save vinayakhumberi/455be6823419c7fcd7990b5d4b8433ca to your computer and use it in GitHub Desktop.
Webpack Performance Hacks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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