webpack v1 is deprecated. We encourage all developers to upgrade to webpack 2. webpack is fed a configuration object. Depending on your usage of webpack there are two ways to pass this configuration object: → CLI If you use the CLI it will read a file webpack.config.js (or the file passed by the --config option). This file should export the configuration object: module.exports = { // configuration