# NEXTJS_MISSING_NEXT13_TYPESCRIPT_PLUGIN

Next 13 introduced a TypeScript plugin to provide richer information for
Next.js applications using TypeScript. See the [Next.js docs](https://nextjs.org/docs/app/building-your-application/configuring/typescript#using-the-typescript-plugin) for more information.

## How to fix

Add the following to `plugins` in the `compilerOptions` of your `tsconfig.json`
file.

```json filename="tsconfig.json"
  "compilerOptions": {
    "plugins": [{ "name": "next" }]
  }
```


--------------------------------------------------------------------------------
title: "NEXTJS_MISSING_OPTIMIZE_PACKAGE_IMPORTS"
description: "optimizePackageImports improves compilation speed for packages that use barrel files or export many modules."
last_updated: "2026-02-03T02:58:39.082Z"
source: "https://vercel.com/docs/conformance/rules/NEXTJS_MISSING_OPTIMIZE_PACKAGE_IMPORTS"
--------------------------------------------------------------------------------