mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-02 10:27:15 +00:00
90784f79d7
* docs: implement new website theme * chore: rename dirs * chore: update build * lint fix * chore: update deps * fix: include node_modules in esbuild step * chore: update deps * Update .gitignore * chore: update theme version * up * up * fix: use svg for illustration * chore: update to 0.0.12 * chore: force parse5 resolution * stay with build * feat: always display first home section * Update yarn.lock * chore: update theme * fix lint * docs: update home title * chore: update website theme version * Update docs/content/0.index.md Co-authored-by: pooya parsa <pyapar@gmail.com> * Update docs/content/0.index.md Co-authored-by: pooya parsa <pyapar@gmail.com> * up * chore: bump theme version * up * chore: up * up up and up * chore: generate * fix: boolean value * feat: new images * update again * chore: up * ouep * chore: up Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Clément Ollivier <clement.o2p@gmail.com> Co-authored-by: pooya parsa <pyapar@gmail.com>
24 lines
925 B
Markdown
24 lines
925 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](/docs/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 -->
|