Nuxt/docs/content/7.migration/10.bundling.md
Yaël Guilloux dc47c64f14
docs: use nuxt 3 and website theme (#5479)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
2022-10-06 11:15:30 +02:00

920 B

Build Tooling

We use the following build tools by default:

For this reason, most of your previous build configuration in nuxt.config will now be ignored, including any custom babel configuration.

If you need to configure any of Nuxt's build tools, you can do so in your nuxt.config, using the new top-level vite, webpack and postcss keys.

In addition, Nuxt ships with TypeScript support. Find out more.

Steps

  1. Remove @nuxt/typescript-build and @nuxt/typescript-runtime from your dependencies and modules.
  2. Remove any unused babel dependencies from your project.
  3. Remove any explicit core-js dependencies.
  4. Migrate require to import.