mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 10:17:16 +00:00
1006 B
1006 B
title | description |
---|---|
Build Tooling | Learn how to migrate from Nuxt 2 to Nuxt 3 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.
:read-more{to="/docs/guide/concepts/typescript"}
Steps
- Remove
@nuxt/typescript-build
and@nuxt/typescript-runtime
from your dependencies and modules. - Remove any unused babel dependencies from your project.
- Remove any explicit core-js dependencies.
- Migrate
require
toimport
.