Webpack is a tool that lets you compile JavaScript modules. It's also known as a module bundler. Given a large number of files, it generates a single file (or a few files) that run your app. It can perform many operations: ... allows you to use require() for CSS files .