My Feed
Create Team Blog
Let's kick off a fresh team blog! Bring on the crew and let's get to publishing.

Webpack 2 - Dev vs Production

Hipkiss's photo
·Apr 18, 2017

So a couple of questions:

  1. Is it possible to configure webpack to automatically insert the LICENSE terms and conditions to a bundled .js file? (I guess I could have multiple entries and 1 output but then how to I account for removal of the license when it's ugilfied?)
  2. Can you configure webpack to automatically remove things like console.log()?