Sign in
Log inSign up

Webpack 2 - Dev vs Production

Hipkiss's photo
Hipkiss
·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()?
Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct