mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
dc47c64f14
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>
24 lines
920 B
Markdown
24 lines
920 B
Markdown
# Build Tooling
|
|
|
|
We use the following build tools by default:
|
|
|
|
- [Vite](https://vitejs.dev/) or [webpack](https://webpack.js.org/)
|
|
- [Rollup](https://rollupjs.org/)
|
|
- [PostCSS](https://postcss.org/)
|
|
- [esbuild](https://esbuild.github.io/)
|
|
|
|
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](/guide/concepts/typescript).
|
|
|
|
## Steps
|
|
|
|
1. Remove `@nuxt/typescript-build` and `@nuxt/typescript-runtime` from your dependencies and modules.
|
|
1. Remove any unused babel dependencies from your project.
|
|
1. Remove any explicit core-js dependencies.
|
|
1. Migrate `require` to `import`.
|
|
|
|
<!-- TODO: Enabling webpack builder -->
|