Skip to content

Instantly share code, notes, and snippets.

@vlpt-playground
Created April 7, 2017 18:54
Show Gist options
  • Save vlpt-playground/6bb9e49767c5d763a5a20015b9c6a1a7 to your computer and use it in GitHub Desktop.
Save vlpt-playground/6bb9e49767c5d763a5a20015b9c6a1a7 to your computer and use it in GitHub Desktop.
// This file is not going through babel transformation.
// So, we write it in vanilla JS
// (But you could use ES2015 features supported by your Node.js version)
module.exports = {
webpack: (config, { dev }) => {
// Perform customizations to config
// Important: return the modified config
return config
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment