Last updated on 22nd October 2024

Using Webpack in the Build Pipeline

In order to be able to use Webpack to build your node projects, you will need to first add this step:

  npm ci
  NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --config webpack.config.js

What's Webpack?

Webpack is a module bundler for modern JavaScript applications. It takes modules as input and generates static assets like bundles (e.g., .js, .css) that are ready to be deployed to a production server.

Happy deploying!