# @nuxt/webpack-builder

> Webpack bundler for Nuxt

Latest version **4.7.1** (published 2026-11-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nuxt/webpack-builder
pnpm add @nuxt/webpack-builder
yarn add @nuxt/webpack-builder
bun add @nuxt/webpack-builder
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads; has vulnerabilities.

## Facts

| | |
|---|---|
| Version | 4.7.1 |
| Published | 2026-11-30 |
| First published | 2021-04-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | ^22.22.3 \|\| ^24.15.0 \|\| >=26.0.0 |
| Dependencies | 39 |
| Unpacked size | 77.8 KB |
| Known vulnerabilities | 1 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 61166 |
| Maintainers | danielroe |

## Links

- npm: https://www.npmjs.com/package/@nuxt/webpack-builder
- Repository: https://github.com/nuxt/nuxt
- Homepage: https://nuxt.com
- Issues: https://github.com/nuxt/nuxt/issues
- npm.io page: https://npm.io/package/@nuxt/webpack-builder

## Dependencies (39)

- [ufo](https://npm.io/package/ufo.md) ^1.6.4
- [defu](https://npm.io/package/defu.md) ^6.1.7
- [memfs](https://npm.io/package/memfs.md) ^4.80.1
- [ohash](https://npm.io/package/ohash.md) ^2.0.12
- [pathe](https://npm.io/package/pathe.md) ^2.0.3
- [unenv](https://npm.io/package/unenv.md) ^2.0.0-rc.25
- [cssnano](https://npm.io/package/cssnano.md) ^9.9.0
- [exsolve](https://npm.io/package/exsolve.md) ^1.2.0
- [postcss](https://npm.io/package/postcss.md) ^8.5.34
- [seroval](https://npm.io/package/seroval.md) ^1.8.2
- [webpack](https://npm.io/package/webpack.md) ^5.113.0
- [hash-sum](https://npm.io/package/hash-sum.md) ^2.0.0
- [knitwork](https://npm.io/package/knitwork.md) ^1.3.0
- [unplugin](https://npm.io/package/unplugin.md) ^3.7.0
- [@nuxt/kit](https://npm.io/package/@nuxt/kit.md) 4.7.1
- [css-loader](https://npm.io/package/css-loader.md) ^7.1.5
- [raw-loader](https://npm.io/package/raw-loader.md) ^4.0.2
- [url-loader](https://npm.io/package/url-loader.md) ^4.1.1
- [vue-loader](https://npm.io/package/vue-loader.md) ^17.4.2
- [webpackbar](https://npm.io/package/webpackbar.md) ^7.0.0
- [file-loader](https://npm.io/package/file-loader.md) ^6.2.0
- [postcss-url](https://npm.io/package/postcss-url.md) ^10.1.4
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^10.7.1
- [esbuild-loader](https://npm.io/package/esbuild-loader.md) ^4.5.0
- [postcss-import](https://npm.io/package/postcss-import.md) ^17.0.1
- [postcss-loader](https://npm.io/package/postcss-loader.md) ^8.2.2
- [rolldown-string](https://npm.io/package/rolldown-string.md) ^0.3.1
- [time-fix-plugin](https://npm.io/package/time-fix-plugin.md) ^2.0.7
- [pug-plain-loader](https://npm.io/package/pug-plain-loader.md) ^1.1.0
- [@vue/compiler-sfc](https://npm.io/package/@vue/compiler-sfc.md) 3.5.46
- [vue-bundle-renderer](https://npm.io/package/vue-bundle-renderer.md) ^2.5.0
- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) ^5.0.0
- [webpack-dev-middleware](https://npm.io/package/webpack-dev-middleware.md) ^8.6.3
- [webpack-hot-middleware](https://npm.io/package/webpack-hot-middleware.md) ^2.26.1
- [mini-css-extract-plugin](https://npm.io/package/mini-css-extract-plugin.md) ^2.10.2
- [postcss-import-resolver](https://npm.io/package/postcss-import-resolver.md) ^2.0.0
- [webpack-bundle-analyzer](https://npm.io/package/webpack-bundle-analyzer.md) ^5.4.3
- [css-minimizer-webpack-plugin](https://npm.io/package/css-minimizer-webpack-plugin.md) ^8.0.0
- [fork-ts-checker-webpack-plugin](https://npm.io/package/fork-ts-checker-webpack-plugin.md) ^9.2.0

## Recent versions

- 4.7.1 (latest) — 2026-11-30
- 4.6.3 (4x) — 2026-10-27
- 3.21.11 (3x) — 2026-08-05
- 4.0.0-rc.0 (rc) — 2025-07-07
- 4.0.0-alpha.4 (alpha) — 2025-06-27
- 4.7.0 — 2026-11-23
- 4.6.4 — 2026-11-02
- 4.6.2 — 2026-10-16
- 4.6.1 — 2026-10-09
- 4.6.0 — 2026-10-05
- 4.5.2 — 2026-08-05
- 3.21.10 — 2026-07-27
- 4.5.1 — 2026-07-27
- 4.5.0 — 2026-07-18
- 3.21.9 — 2026-07-18
- … 141 more at https://npm.io/package/@nuxt/webpack-builder/versions

## README

<a href="https://nuxt.com"><img width="830" height="276" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/banner.avif" alt="Nuxt banner"></a>

# Nuxt

<p>
  <a href="https://npmx.dev/package/nuxt"><img src="https://npmx.dev/api/registry/badge/version/nuxt" alt="Version"></a>
  <a href="https://npmx.dev/package/nuxt"><img src="https://npmx.dev/api/registry/badge/downloads/nuxt" alt="Downloads"></a>
  <a href="https://github.com/nuxt/nuxt/blob/main/LICENSE"><img src="https://img.shields.io/github/license/nuxt/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License"></a>
  <a href="https://nuxt.com/modules"><img src="https://img.shields.io/badge/dynamic/json?url=https://nuxt.com/api/v1/modules&query=$.stats.modules&label=Modules&style=flat&colorA=18181B&colorB=28CF8D" alt="Modules"></a>
  <a href="https://nuxt.com"><img src="https://img.shields.io/badge/Nuxt%20Docs-18181B?logo=nuxt" alt="Website"></a>
  <a href="https://chat.nuxt.dev"><img src="https://img.shields.io/badge/Nuxt%20Discord-18181B?logo=discord" alt="Discord"></a>
  <a href="https://securityscorecards.dev/viewer/?uri=github.com/nuxt/nuxt"><img src="https://api.securityscorecards.dev/projects/github.com/nuxt/nuxt/badge" alt="Nuxt openssf scorecard score"></a>
</p>

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.

It provides a number of features that make it easy to build fast, SEO-friendly, and scalable web applications, including:
- Server-side rendering, static site generation, hybrid rendering and edge-side rendering
- Automatic routing with code-splitting and pre-fetching
- Data fetching and state management
- Search engine optimization and defining meta tags
- Auto imports of components, composables and utils
- TypeScript with zero configuration
- Go full-stack with our server/ directory
- Extensible with [300+ modules](https://nuxt.com/modules)
- Deployment to a variety of [hosting platforms](https://nuxt.com/deploy)
- ...[and much more](https://nuxt.com) 🚀

## 🚀 Getting Started

Use the following command to create a new starter project. This will create a starter project with all the necessary files and dependencies:

```bash
npm create nuxt@latest <my-project>
```

> [!TIP]
> Discover also [nuxt.new](https://nuxt.new): Open a Nuxt starter on CodeSandbox, StackBlitz or locally to get up and running in a few seconds.

## 💻 Vue Development

Simple, intuitive and powerful, Nuxt lets you write Vue components in a way that makes sense. Every repetitive task is automated, so you can focus on writing your full-stack Vue application with confidence.

Example of an `app.vue`:

```vue
<script setup lang="ts">
useSeoMeta({
  title: 'Meet Nuxt',
  description: 'The Intuitive Vue Framework.',
})
</script>

<template>
  <div id="app">
    <AppHeader />
    <NuxtPage />
    <AppFooter />
  </div>
</template>

<style scoped>
#app {
  background-color: #020420;
  color: #00DC82;
}
</style>
```

## 📖 Documentation

We highly recommend you take a look at the [Nuxt documentation](https://nuxt.com/docs) to level up. It’s a great resource for learning more about the framework. It covers everything from getting started to advanced topics.

## 🧩 Modules

Discover our [list of modules](https://nuxt.com/modules) to supercharge your Nuxt project, created by the Nuxt team and community.

## ❤️ Contribute

We invite you to contribute and help improve Nuxt 💚

Here are a few ways you can get involved:
- **Reporting Bugs:** If you come across any bugs or issues, please check out the [reporting bugs guide](https://nuxt.com/docs/4.x/community/reporting-bugs) to learn how to submit a bug report.
- **Suggestions:** Have ideas to enhance Nuxt? We'd love to hear them! Check out the [contribution guide](https://nuxt.com/docs/4.x/community/contribution) to share your suggestions.
- **Questions:** If you have questions or need assistance, the [getting help guide](https://nuxt.com/docs/4.x/community/getting-help) provides resources to help you out.

## 🏠 Local Development

Follow the docs to [Set Up Your Local Development Environment](https://nuxt.com/docs/4.x/community/framework-contribution#setup) to contribute to the framework and documentation.

## 🛟 Professional Support

- Technical audit & consulting: [Nuxt Experts](https://nuxt.com/enterprise/support)
- Custom development & more: [Nuxt Agencies Partners](https://nuxt.com/enterprise/agencies)

## 🔗 Follow Us

<p valign="center">
  <a href="https://go.nuxt.com/discord"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/discord.svg" alt="Discord"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/x"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/twitter.svg" alt="Twitter"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/github"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/github.svg" alt="GitHub"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/bluesky"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/bluesky.svg" alt="Bluesky"></a>
</p>

## <a name="license">⚖️ License</a>

[MIT](https://github.com/nuxt/nuxt/blob/main/LICENSE)

---
_Source: https://npm.io/package/@nuxt/webpack-builder · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
